Spring AOP gives IllegalArgumentException with Java 8

后端 未结 3 1358
孤街浪徒
孤街浪徒 2021-01-20 06:48

With Java 8 and Spring AOP 4.0.6 I am getting following error

    java.lang.RuntimeException: Error scanning file MonitorAroundPerformance.class
    at org.e         


        
3条回答
  •  星月不相逢
    2021-01-20 07:02

    Jetty 9.2.0 is the first version of Jetty to support annotation and class scanning for JDK8.

    There was an update to the asm library we use, along with some api changes to support the new JDK8 bytecode scanning.

    You'll want to upgrade.

提交回复
热议问题