Home  >  Forum  >  Spring
Post New Query

start your Java virtual machine with Spring agent: -javaagent


joined on
April 07,2013
Asked on August 14,2013
Specify a custom LoadTimeWeaver or start your Java virtual machine with Spring agent: -javaagent:org.springframework.instrument.jar
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.context.weaving.LoadTimeWeaverAwareProcessor.postProcessBeforeInitialization(LoadTimeWeaverAwareProcessor.java:95)
at 
joined on
April 07,2013
Replied on August 14,2013

How to run javaagent, need help
joined on
May 11,2013
Replied on August 14,2013

You need the  spring-agent.jar and set the Virtual arguments in eclipse as
-javaagent:"path/spring-agent-2.5.6.jar"

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us