I'm experiencing a very strange problem. I'm using Play Framework and I have a model called User.
There are other methods in the model other than the setters and getters and they are causing a problem.
Caused by: java.lang.VerifyError: (class: models/User, method: doesLike signature: (Lmodels/Feed;)Ljava/lang/Boolean;) Incompatible object argument for function call
at java.lang.Class.forName0(Native Method) ~[na:1.6.0_43]
play.api.Configuration$$anon$1: Configuration error[Cannot register class [models.User] in Ebean server]
at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:80) ~[play_2.10.jar:2.1.1]
at play.api.Configuration.reportError(Configuration.scala:558) ~[play_2.10.jar:2.1.1]
at play.Configuration.reportError(Configuration.java:298) ~[play_2.10.jar:2.1.1]
at play.db.ebean.EbeanPlugin.onStart(EbeanPlugin.java:71) ~[play-java-ebean_2.10.jar:2.1.1]
at
play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:63) ~[play_2.10.jar:2.1.1]
at
play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:63) ~[play_2.10.jar:2.1.1]
Caused by: java.lang.VerifyError: (class: models/User, method: doesLike signature: (Lmodels/Feed;)Ljava/lang/Boolean;) Incompatible object argument for function call
at java.lang.Class.forName0(Native Method) ~[na:1.6.0_43]
at java.lang.Class.forName(Class.java:249) ~[na:1.6.0_43]
at play.db.ebean.EbeanPlugin.onStart(EbeanPlugin.java:69) ~[play-java-ebean_2.10.jar:2.1.1]
at
play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:63) ~[play_2.10.jar:2.1.1]
at
play.api.Play$$anonfun$start$1$$anonfun$apply$mcV$sp$1.apply(Play.scala:63) ~[play_2.10.jar:2.1.1]
at scala.collection.immutable.List.foreach(List.scala:309) ~[scala-library.jar:na]