On 7/3/07, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
Hey, I've just svn up and I have the following problem when bulding:

[INFO] Surefire report directory:
c:\java\servicemix\clean\deployables\bindingcomponents\servicemix-jms\target\surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to
create test class 'org.apache.servicemix.jms.'; nested exception is
java.lang.ClassNotFou
ndException: org.apache.servicemix.jms.; nested exception is
org.apache.maven.surefire.testset.TestSetFailedException: Unable to
create test class 'org.apache.s
ervicemix.jms.'; nested exception is java.lang.ClassNotFoundException:
org.apache.servicemix.jms.
org.apache.maven.surefire.testset.TestSetFailedException: Unable to
create test class 'org.apache.servicemix.jms.'; nested exception is
java.lang.ClassNotFoundE
xception: org.apache.servicemix.jms.
java.lang.ClassNotFoundException: org.apache.servicemix.jms.
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
        at 
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:150)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:111)
        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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

Does this work for you ?

FWIW, I just moved the src/main/java/org/apache/servicemix/jms
directory aside, updated and rebuilt and I got past this error. But
then I ran into a test failure due to a method signature being changed
on the 
org.springframework.jmx.support.ConnectorServerFactoryBean.setObjectName()
method and had to fix that (I'll commit this one in a bit).

Adrian, it is extremely ironic that you have refactored the
JmsConsumerEndpointTest and JmsProviderEndpointTest to extend
AbstractJmsTestCase. I did the same exact thing last week but hadn't
yet committed my work. Very odd that we were working on some of the
same changes to the same tests ;-).

Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Reply via email to