spring-loaded icon indicating copy to clipboard operation
spring-loaded copied to clipboard

java.lang.IllegalAccessException: Class org.springsource.loaded.ReloadableType can not access a member of class

Open egaga opened this issue 9 years ago • 0 comments

Running Spring boot application 1.3.3-RELEASE through IntellijJ IDEA with VM options: -javaagent:/<my-path>/springloaded-1.2.6.BUILD-20160411.195630-9.jar -noverify

When I save and compile the project, the following exception is thrown. Same problem with 1.2.5-RELEASE.

java.lang.IllegalAccessException: Class org.springsource.loaded.ReloadableType can not access a member of class org.springframework.aop.framework.CglibAopProxy$ClassLoaderAwareUndeclaredThrowableStrategy with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102) at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296) at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288) at java.lang.reflect.Method.invoke(Method.java:490) at org.springsource.loaded.ReloadableType.reloadProxiesIfNecessary(ReloadableType.java:598) at org.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:446) at org.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:1018) at org.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:104) at org.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:251) at org.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:235)

egaga avatar Apr 13 '16 06:04 egaga