I'm trying to use Play with java 8 and spring dependency injection. The problem is that play (com.typesafe.play:play-java_2.10:2.2.2) depends on spring 3.2.3 and spring's full support for java 8 compile level (1.8) is intoduced in spring 4.0.
If I use spring 3.2.3, I get the following exception when spring is trying to load the beans at app startup:
ASM ClassReader failed to parse class file - probably due to a new Java class file version that isn't supported yet
So my options are:
Do I have any other options? mainly can I somehow make play work with spring 4?
And Is there any announced time for upgrading to spring 4 in Play's roadmap?
You can use Play 2.3-M1! that depend on Spring 4 which Java 8 supported.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.