While trying to build Axis2-1.5, I get the following Maven2 error. Any help in
building would be appreciated:
[INFO] Surefire report directory:
/home/richip/src/axis2-1.5/modules/kernel/target/surefire-reports
org.apache.maven.surefire.booter.SurefireExecutionException: Unable to create
test class 'org.apache.axis2.transport.tcp.TCPTransportTest'; nested exception
is java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportTest not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebootermtx5pn.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}; nested
exception is org.apache.maven.surefire.testset.TestSetFailedException: Unable
to create test class 'org.apache.axis2.transport.tcp.TCPTransportTest'; nested
exception is java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportTest not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebootermtx5pn.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
org.apache.maven.surefire.testset.TestSetFailedException: Unable to create test
class 'org.apache.axis2.transport.tcp.TCPTransportTest'; nested exception is
java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportTest not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebootermtx5pn.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
java.lang.ClassNotFoundException:
org.apache.axis2.transport.tcp.TCPTransportTest not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/tmp/surefirebootermtx5pn.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
at
org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209)
at org.apache.maven.surefire.Surefire.run(Surefire.java:156)
at java.lang.reflect.Method.invoke(libgcj.so.10)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
--
Richard Plana