spring-loaded
spring-loaded copied to clipboard
Cannot run the reloading sample
I've just followed the wiki as java -Dspringloaded=explain -javaagent:springloaded-1.2.3.RELEASE.jar -noverify Sample,and then recompile the Sample.java but find no change take place, could anyone help me ?
Are you getting any output? Have you tried '-Dspringloaded=verbose' do you get lots of output in that case showing the agent is active?
After I recompiled Sample.java, the output shows below:
Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/TypeDiffComputer is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/TypeDelta is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/MethodDelta is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/CurrentLiveVersion is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/IncrementalTypeDescriptor is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/ExecutorBuilder$ExecutorBuilderVisitor is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/ConstructorCopier is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/MethodCopier is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/DispatcherBuilder is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/DispatcherBuilder$DispatcherBuilderVisitor is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable Apr 01, 2016 12:05:26 AM org.springsource.loaded.TypeRegistry couldBeReloadable INFO: WhyNotReloadable? The type org/springsource/loaded/__DynamicallyDispatchable is using a package name 'org/springsource/loaded/' which is considered infrastructure and types within it are not made reloadable