Problems using current cvs version of seam
baz Oct 9, 2006 4:07 AMHello,
I would like to test the <s:decorate> tag. And i have to adapt my application prototype to the newest modification for HibernateManagedEntity (This class was first moved to a new package and after that was heavily refactored.). Buit by now i can't get seam to build and run.
I have some problems with building and using the latest seam jars(directly from cvs).
Executing the 'build' and 'testcore' targets from build.xml leads to these errors:
...
[testng] FAILED: org.jboss.seam.test.ContextTest.testContexts()
[testng] java.lang.IllegalStateException: No active application context
....
[testng] Core
[testng] Tests run: 28, Failures: 11, Skips: 0
When ignoring the testfailures (assuming that the test cases must be readjusted) and trying to
use the generated jars lead to a 'class not found' exception.
After copying the newest thirdparty-all.jar into my app the NoClassDefFoundError: net/sf/cglib/proxy/Factory does not vanish.
09:51:17,812 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/baz]: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:236) at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317) at org.jboss.seam.Component.createProxyFactory(Component.java:1750) at org.jboss.seam.Component.<init>(Component.java:242) at org.jboss.seam.Component.<init>(Component.java:189) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:502) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:513) at org.jboss.seam.init.Initialization.addComponents(Initialization.java:455) at org.jboss.seam.init.Initialization.init(Initialization.java:292) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:218) ... 25 more Caused by: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Factory at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) ... 30 more 09.10.2006 09:51:17 org.apache.catalina.core.StandardContext start SCHWERWIEGEND: Error listenerStart
My questions:
Is there something i apparently missed?
The building and using of seam in the past was no problem for me. It just does what it should.
Ciao,
Carsten