package controllers.shopping;
public class Application extends Controller {
public static Result index() {
return ok(views.html.confirmation.render("ok"));
}
}
我的主构建文件
lazy val shopping = project.in(file("modules/shopping"))
val main = project.in(file("."))
.dependsOn(shopping).aggregate(shopping)
子模块公共中的模型类:
@Entity
public class AppMode {
public static AppMode getCurrentConfigurationEntry() {
return JPA.em().find(AppMode.class, 1L);
}
}