spring - ClassFormatError while using TomcatInstrumentableClassLoader : illegal modifiers: 0x18 -
i using tomcatinstrumentableclassloader implement aspectj load time weaving. during initial setup of application use classutils.getclass() load classes. at stage getting java.lang.classformaterror : method test_aroundbody0 in class com/abc/foo has illegal modifiers: 0x18 foo.java interface , test() default method in interface. i not error when use default classloader. i using, spring-instrument-tomcat-4.1.6 jdk-1.8.0_20 tomcat-7.0.47 aspectjweaver-1.8.5.jar any suggestions or answers appreciated.