Play Framework Java 3.0.6 with Ebean, Java 17 and javax.validation #13106
-
I have upgraded one of my applications to Play 3.0.6 because it was stated that Play 2.9 does not support jakarta.validation
Unfortunately (or as expected as some would say) Play 3.0.6 does have problems with jakarta.validation either. I also cannot upgrade to Play 3.1.M1 yet, as I also use PlayMorphia (for MongoDB) and Pac4J (Security Framework) which still do cause some headaches. Currently nearly all post requests cause a console error
As the documentation says:
Any workaround or hint is appreciated. I have to admit my knowledge about Play Framework (Java) is limited. Regards Henning |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
All of this was/is specificially about Hibernate, but you use ebean. Ebean is a complete different thing. Which version of ebean are you using? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer. This is my plugins.sbt
build.properties
Having a look at the external libs in IntelliJ
Just took this from the play ebean sample application. Henning |
Beta Was this translation helpful? Give feedback.
Shame on me. In my despair I have added a wrong libraryDependency (spring-context) and forgot later on. All is good now.