hakandilek / play2-crud

Simple CRUD & DAO implementation for play2
Other
142 stars 52 forks source link

Problem run-time with Java 6 #58

Open andrew32768 opened 9 years ago

andrew32768 commented 9 years ago

After compiled when I call http://localhost:9000 is showed this error: play/utils/crud/GlobalCRUDSettings : Unsupported major.minor version 51.0 I tried to add this row in build.sbt:

javacOptions ++= Seq("-source", "1.6", "-target", "1.6")

but it didn't work. How can I solve this problem? Thanks in advance.

hakandilek commented 9 years ago

Hi there, I think that's because the library in maven repo is compiled with Java 1.7. You can try to recompile it and see if you still have the same problem.