You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Richard Plana <Ri...@enabil.com> on 2009/08/15 21:17:21 UTC
Build Problem
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
RE: Build Problem
Posted by Martin Gainty <mg...@hotmail.com>.
check $AXIS_HOME/stagingRepo/axis2-1.5/modules/kernel/pom.xml
for maven-surefire-plugin
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<skip>false</skip>
<excludes>
<exclude>**/*Abstract*.java</exclude>
<exclude>**/*Util*.java</exclude>
<exclude>**/*MessageContextChangeTest.java</exclude>
<exclude>**/MessageContextChangeTest.java</exclude> <!-- Removed because of problem on Java5. Needs reinstated -->
</excludes>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
creates
F:\AXIS\axis2-1.5\stagingRepo\axis2-1.5\modules\kernel\target\surefire-reports\TEST-org.apache.axis2.transport.tcp.TCPTransportTest.xml
make sure the user you logged in as has read,write,execute delete access to
$AXIS_HOME/stagingRepo/axis2-1.5/modules/kernel/target/surefire-reports folder
Martin Gainty
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> From: Richard.Plana@enabil.com
> To: axis-user@ws.apache.org
> Date: Sat, 15 Aug 2009 13:17:21 -0600
> Subject: Build Problem
>
> 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
>
_________________________________________________________________
Get free photo software from Windows Live
http://www.windowslive.com/online/photos?ocid=PID23393::T:WLMTAGL:ON:WL:en-US:SI_PH_software:082009