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

Cannot run the reloading sample

Open tinycedar opened this issue 10 years ago • 2 comments
trafficstars

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 ?

tinycedar avatar May 20 '15 14:05 tinycedar

Are you getting any output? Have you tried '-Dspringloaded=verbose' do you get lots of output in that case showing the agent is active?

aclement avatar Jun 26 '15 20:06 aclement

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

tinycedar avatar Mar 31 '16 16:03 tinycedar