AkkaGuice icon indicating copy to clipboard operation
AkkaGuice copied to clipboard

UnsupportedClassVersionError

Open barbolani opened this issue 10 years ago • 2 comments

Using java version 1.7.0_51, I get this error when starting my Play app. Are there any specific features of this plugin and/or Guice that require higher Java versions? Should be documented somewhere at least.

java.lang.UnsupportedClassVersionError: akkaGuice/AkkaGuicePlugin : Unsupported major.minor version 52.0

barbolani avatar Apr 07 '15 17:04 barbolani

I do use Java 8, but I thought we did work a few months ago to get AkkaGuice working with Java 7. Give me a day to check it out. In the meantime, if you can find the location that it thinks is Java 8, let me know.

chanan avatar Apr 07 '15 17:04 chanan

Sorry, I take that back. The sample app does use Java 8, but it is only in the sample. If you want, clone the repo to your machine and delete: https://github.com/chanan/AkkaGuice/blob/master/app/services/AbstractActorService.java plus anything that references it. That should then work for you. The plugin itself should work in Java 7 without an issue.

chanan avatar Apr 07 '15 17:04 chanan