ClassFormatError when using TomcatInstrumentableClassLoader: invalid modifiers: 0x18
I am using TomcatInstrumentableClassLoader to implement AspectJ Load Time Weaving.
During the initial setup of my application, I use ClassUtils.getClass () to load all classes.
At this point, I get
java.lang.ClassFormatError: method test_aroundBody0 in class com / abc / Foo has illegal modifiers: 0x18
Foo.java is the interface and test () is the default method in the interface.
I am not getting this error when using the default ClassLoader.
I am using,
spring-instrument-cat-4.1.6
JDK 1.8.0_20-
cat-7.0.47
aspectjweaver-1.8.5.jar
Any suggestions or answers would be appreciated.
+3
Achyut
source
to share
No one has answered this question yet
Check out similar questions:
8
7
3
2
1
1
0
0
0
0