|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
activequant-examples failedHello everyone
I`m following what is written in this link: http://www.activequant.org/wiki/aqt-env-docs After these instructions: when I execute the class: DualMovingAverageSystem I got the error below: Any idea? 2009-07-25 14:07:00,240 [main] ERROR [org.activequant.examples.tradesystem.simple.javaconfig.Main] - Throwable thrown: org/objectweb/asm/CodeVisitor java.lang.NoClassDefFoundError: org/objectweb/asm/CodeVisitor at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:165) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at org.springframework.config.java.enhancement.cglib.CglibConfigurationEnhancer.enhanceConfiguration(CglibConfigurationEnhancer.java:119) at org.springframework.config.java.process.ConfigurationProcessor.enhanceConfigurationClassAndUpdateBeanDefinition(ConfigurationProcessor.java:458) at org.springframework.config.java.process.ConfigurationProcessor.processConfigurationBean(ConfigurationProcessor.java:372) at org.springframework.config.java.process.ConfigurationPostProcessor.postProcessBeanFactory(ConfigurationPostProcessor.java:137) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:501) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:363) at org.springframework.config.java.context.JavaConfigApplicationContext.<init>(JavaConfigApplicationContext.java:256) at org.springframework.config.java.context.JavaConfigApplicationContext.<init>(JavaConfigApplicationContext.java:220) at org.activequant.examples.tradesystem.simple.javaconfig.Main.backtest(Main.java:75) at org.activequant.examples.tradesystem.simple.javaconfig.Main.main(Main.java:43) Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.CodeVisitor at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 18 more 2009-07-25 14:07:00,246 [main] INFO [org.activequant.examples.tradesystem.simple.javaconfig.Main] - done. Thanks |
|
|
Re: activequant-examples failedHey guys,
I downloaded the latest version of Spring Java Config and now everything is working fine. the latest "spring-javaconfig-1.0.0.M4.zip" http://s3.amazonaws.com/dist.springframework.org/milestone/SJC/spring-javaconfig-1.0.0.M4.zip In the maven, the official version is M3. Thanks
|
|
|
Re: activequant-examples failedHow have you succeded to change spring-javaconfig?
|
|
|
Re: activequant-examples failedIgor,
There are two solutions for the CodeVisitor problem. Please see http://www.nabble.com/Re%3A-BalanceBook--Account--OrderTracker--p25453990.html http://www.nabble.com/Re%3A-BalanceBook--Account--OrderTracker--p25356723.html Regards, Kirill
|
|
|
Re: activequant-examples failedKirill,
I have followed the second solution and running tradesystem.simple.javaconfig example obtained the following error: 2009-10-07 15:47:41,948 [main] ERROR [org.activequant.examples.tradesystem.simple.javaconfig.Main] - Throwable thrown: org/springframework/core/SmartClassLoader
|
|
|
Re: activequant-examples failedIgor,
Have you tried a clean checkout? I suggest you delete (or copy somewhere) the workspace and .m2 cache, checkout the examples/trunk (at rev:459 as of this writing), update pom.xml, add maven perspective, wait for the build and run the example. I just did a clean checkout myself and the tradingsystem.simple.javaconfing example worked fine. Kirill
|
| Free embeddable forum powered by Nabble | Forum Help |