0

I'm getting the following error:

[IllegalStateException: JSR-303 validated property 'ean' does not have a corresponding accessor for data binding - check your DataBinder's configuration (bean property versus direct field access)]

I can't find it anywhere!

Reference to this post that was using the older version of the Java Play: Playframework JSR-303 validated "field" does not have a corresponding accessor for data binding

Grady
  • 439
  • 1
  • 5
  • 14
  • Did you try simply running the `sbt clean` command? – Zenoo Apr 23 '18 at 07:06
  • @Zenoo yes I've tried just using `clean` command within `sbt`, doesn't seem like it's doing the work – Grady Apr 23 '18 at 07:07
  • And if you try `sbt compile`, without running it, do you get the same error? – Zenoo Apr 23 '18 at 07:09
  • Have yout tried: `sbt clean clean-files`? https://stackoverflow.com/questions/4483230 – jschnasse Apr 23 '18 at 07:12
  • Not really sure why, I'm unable to execute `sbt clean clean-files`, here's what I'm getting: https://gist.github.com/glaksmono/4d954f2740f57693ba76172273a0ece3 @jschnasse – Grady Apr 23 '18 at 07:16
  • actually you can use this command `sbt clean cleanFiles`, but I'm still getting the same error on the `DataBinder` :( @jschnasse @Zenoo – Grady Apr 23 '18 at 07:22
  • Is PlayEnhancer configured? Have you configured it in `project/plugins.sbt` and `build.sbt`? https://www.playframework.com/documentation/2.6.x/PlayEnhancer – jschnasse Apr 23 '18 at 07:26

0 Answers0