-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IllegalStateException: Error trying to create the prototypeEntityBean for class #290
Comments
I fixed this issue! val ebeanVersion = "13.6.0"
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.8.15")
addSbtPlugin("com.typesafe.play" % "sbt-play-ebean" % "6.2.0-RC6")
dependencyOverrides ++= Seq(
"io.ebean" % "ebean" % ebeanVersion,
"io.ebean" % "ebean-agent" % ebeanVersion,
"io.ebean" % "ebean-ddl-generator" % ebeanVersion
) build.sbt: val ebeanVersion = "13.6.0"
dependencyOverrides ++= Seq(
"io.ebean" % "ebean" % ebeanVersion,
"io.ebean" % "ebean-agent" % ebeanVersion,
"io.ebean" % "ebean-ddl-generator" % ebeanVersion
) |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original issue:
ebean-orm/ebean#2689
Crash:
https://gist.github.com/PromanSEW/c101189d0f58eba5bdfccf828643fac2
Reproducer
https:/PromanSEW/ebean_example
The problem is that
sbt-play-ebean
usesebean-agent
12.16.1
in its (sbt) classpath while enhancing, when app classpath uses Ebean 13.6.0So adding
ebean.mf
toplay-ebean
or app resources has no effectOriginally posted by @PromanSEW in ebean-orm/ebean#2689 (comment)
I set the following settings, and console prints that ebean-agent 12.16.1 is used instead of 13.6.0
I don't know how modify SBT classpath so it will use Ebean 13.6.0 instead of
sbt-play-ebean
versionIf you know, please help me
The text was updated successfully, but these errors were encountered: