I have set up a project using failsafe + tomcat. (For now, I put off
learning about cargo and having tests in another project).

In pre-integration I have an execution of 'run' with fork=true, and in
post-integration I have an execution of 'shutdown'.


In that project's directory, everything works as expected.

The project is, however, part of a very ordinary and boring parent/child set.

If I run mvn from the parent, something awful happens such that
classes are missing from inside the webapp. The failure is the same
with maven 2.2.1 and 3.0.3.

The symptom is that spring hits a missing class definition for a class
from a jar from the WEB-INF/lib directory.

Caused by: java.lang.NoClassDefFoundError: Lcom/basistech/lsh/LSH;
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
        at java.lang.Class.getDeclaredFields(Class.java:1743)
        at 
org.apache.cxf.common.annotation.AnnotationProcessor.processFields(AnnotationProcessor.java:97)
        at 
org.apache.cxf.common.annotation.AnnotationProcessor.accept(AnnotationProcessor.java:69)
        at 
org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:117)
        at 
org.apache.cxf.common.injection.ResourceInjector.inject(ResourceInjector.java:111)
        at 
org.apache.cxf.bus.spring.Jsr250BeanPostProcessor.postProcessBeforeInitialization(Jsr250BeanPostProcessor.java:126)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        ... 39 more
Caused by: java.lang.ClassNotFoundException: com.basistech.lsh.LSH
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        ... 50 more

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to