我有一个与 Spring 和 Hibernate JPA 集成的 Play 应用程序。
当我从我的 build.sbt 文件中删除 javaEbean 依赖项时,我收到
无法访问 EntityBean
这是我的依赖项:
scalaVersion := "2.11.1"
libraryDependencies ++= Seq(
jdbc,
javaJdbc,
javaCore,
filters,
// javaEbean,
cache,
// javaWs,
// "org.hibernate" % "hibernate-core" % "4.3.8.Final",
javaJpa.exclude("org.hibernate.javax.persistence", "hibernate-jpa-2.0- api"),
"org.hibernate" % "hibernate-entitymanager" % "4.3.0.Final",
"mysql" % "mysql-connector-java" % "5.1.21",
"org.springframework" % "spring-context" % "4.1.5.RELEASE",
"org.springframework" % "spring-orm" % "4.1.5.RELEASE",
"org.springframework" % "spring-core" % "4.1.5.RELEASE",
"org.springframework" % "spring-jdbc" % "4.1.5.RELEASE",
"org.springframework" % "spring-test" % "4.1.5.RELEASE"
)
我怎样才能解决这个问题?