RE: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer
For *nix, a handy trick to use is to run the following shell script in your lib directory: > for i in *.jar; do echo $i; unzip -l $i | grep "java.lang.String"; done (Will vary by system and shell you are using…I am using Korn Shell here, but others are similar.) This will quickly tell you whether or not you have that class in one of your jars, or whether you are experiencing a different issue. Brennan Spies Sr. Programmer Analyst Shared Application Services -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 6:49 AM To: axis-user@ws.apache.org Subject: Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Hi Thilina, Here is my latest error...same thing with the axis2-std-1.1-SNAPSHOT-bin.zip: [EMAIL PROTECTED] /cygdrive/c/Program Files/Apache Software Foundation/axis 2-std-1.1-SNAPSHOT-bin/bin $ sh ./http-server.sh the classpath :../lib/XmlSchema-SNAPSHOT.jar:../lib/activation-1.1.jar:../lib/an nogen-0.1.0.jar:../lib/axiom-api-SNAPSHOT.jar:../lib/axiom-dom-SNAPSHOT.jar:../l ib/axiom-impl-SNAPSHOT.jar:../lib/axis2-adb-1.1-SNAPSHOT.jar:../lib/axis2-adb-co degen-1.1-SNAPSHOT.jar:../lib/axis2-codegen-1.1-SNAPSHOT.jar:../lib/axis2-java2w sdl-1.1-SNAPSHOT.jar:../lib/axis2-jaxbri-1.1-SNAPSHOT.jar:../lib/axis2-jibx-1.1- SNAPSHOT.jar:../lib/axis2-kernel-1.1-SNAPSHOT.jar:../lib/axis2-saaj-1.1-SNAPSHOT .jar:../lib/axis2-spring-1.1-SNAPSHOT.jar:../lib/axis2-tools-1.1-SNAPSHOT.jar:.. /lib/axis2-xmlbeans-1.1-SNAPSHOT.jar:../lib/backport-util-concurrent-2.2.jar:../ lib/commons-codec-1.3.jar:../lib/commons-fileupload-1.1.1.jar:../lib/commons-htt pclient-3.0.1.jar:../lib/commons-logging-1.1.jar:../lib/geronimo-spec-jms-1.1-rc 4.jar:../lib/jakarta-httpcore-4.0-alpha2.jar:../lib/jaxen-1.1-beta-10.jar:../lib /jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxm exs-0.5.1.jar:../lib/jibx-bind-SNAPSHOT.jar:../lib/jibx-run-SNAPSHOT.jar:../lib/ mail-1.4.jar:../lib/neethi-SNAPSHOT.jar:../lib/servletapi-2.3.jar:../lib/spring- beans-1.2.8.jar:../lib/spring-context-1.2.8.jar:../lib/spring-core-1.2.8.jar:../ lib/spring-web-1.2.8.jar:../lib/stax-api-1.0.1.jar:../lib/stax-utils-20060915.ja r:../lib/woden-1.0.0M6.jar:../lib/wsdl4j-1.6.1.jar:../lib/wstx-asl-3.0.1.jar:../ lib/xbean-2.2.0.jar:../lib/xercesImpl-2.8.1.jar:../lib/xml-apis-1.3.03.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer Adam Ellwood Sr. LDAP Upgrade Analyst (Cell) +1.443.223.9837 "Thilina Gunarathne" <[EMAIL PROTECTED]> 19-Oct-2006 09:32 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours. ~Thilina On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom- api-1.0.jar:../lib/axiom-dom-1.0.jar:../lib/axiom-impl-1.0.jar:../lib/axis2-adb- 1.0.jar:../lib/axis2-codegen-1.0.jar:../lib/axis2-jibx-1.0.jar:../lib/axis2-kern el-1.0.jar:../lib/axis2-tools-1.0.jar:../lib/axis2-xmlbeans-1.0.jar:../lib/backp ort-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileuplo ad-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:.. /lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1- rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-8.jar:../lib/ jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxme xs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/neethi-1.0.1.jar:../lib/servletapi-2 .3.jar:../lib/stax-api-1.0.jar:../lib/stax-utils-20060501.jar:../lib/wsdl4j-1.5. 2.jar:../lib/wstx-asl-2.9.3.jar:../lib/xbean-2.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/
Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer
Thilina, I downloaded the latest snapshot... here is my new error: [EMAIL PROTECTED] /cygdrive/c/Program Files/Apache Software Foundation/axis 2-1.1-SNAPSHOT/bin $ sh ./simpleaxis2server.sh Using JAVA_HOME: c:\Program Files\Java\jdk1.5.0_09 Using AXIS2 Repository : c:\Program Files\Apache Software Foundation\axis2-1. 1-SNAPSHOT/repository Using AXIS2 Configuration : c:\Program Files\Apache Software Foundation\axis2 -1.1-SNAPSHOT/conf/axis2.xml Exception in thread "main" java.lang.NoClassDefFoundError: Files/Java/jdk1/5/0_0 9/lib/tools/jar::/cygdrive/c/Program -Adam "Thilina Gunarathne" <[EMAIL PROTECTED]> 19-Oct-2006 09:32 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours. ~Thilina On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom- api-1.0.jar:../lib/axiom-dom-1.0.jar:../lib/axiom-impl-1.0.jar:../lib/axis2-adb- 1.0.jar:../lib/axis2-codegen-1.0.jar:../lib/axis2-jibx-1.0.jar:../lib/axis2-kern el-1.0.jar:../lib/axis2-tools-1.0.jar:../lib/axis2-xmlbeans-1.0.jar:../lib/backp ort-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileuplo ad-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:.. /lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1- rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-8.jar:../lib/ jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxme xs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/neethi-1.0.1.jar:../lib/servletapi-2 .3.jar:../lib/stax-api-1.0.jar:../lib/stax-utils-20060501.jar:../lib/wsdl4j-1.5. 2.jar:../lib/wstx-asl-2.9.3.jar:../lib/xbean-2.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/
Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer
Hi Thilina, Here is my latest error...same thing with the axis2-std-1.1-SNAPSHOT-bin.zip: [EMAIL PROTECTED] /cygdrive/c/Program Files/Apache Software Foundation/axis 2-std-1.1-SNAPSHOT-bin/bin $ sh ./http-server.sh the classpath :../lib/XmlSchema-SNAPSHOT.jar:../lib/activation-1.1.jar:../lib/an nogen-0.1.0.jar:../lib/axiom-api-SNAPSHOT.jar:../lib/axiom-dom-SNAPSHOT.jar:../l ib/axiom-impl-SNAPSHOT.jar:../lib/axis2-adb-1.1-SNAPSHOT.jar:../lib/axis2-adb-co degen-1.1-SNAPSHOT.jar:../lib/axis2-codegen-1.1-SNAPSHOT.jar:../lib/axis2-java2w sdl-1.1-SNAPSHOT.jar:../lib/axis2-jaxbri-1.1-SNAPSHOT.jar:../lib/axis2-jibx-1.1- SNAPSHOT.jar:../lib/axis2-kernel-1.1-SNAPSHOT.jar:../lib/axis2-saaj-1.1-SNAPSHOT .jar:../lib/axis2-spring-1.1-SNAPSHOT.jar:../lib/axis2-tools-1.1-SNAPSHOT.jar:.. /lib/axis2-xmlbeans-1.1-SNAPSHOT.jar:../lib/backport-util-concurrent-2.2.jar:../ lib/commons-codec-1.3.jar:../lib/commons-fileupload-1.1.1.jar:../lib/commons-htt pclient-3.0.1.jar:../lib/commons-logging-1.1.jar:../lib/geronimo-spec-jms-1.1-rc 4.jar:../lib/jakarta-httpcore-4.0-alpha2.jar:../lib/jaxen-1.1-beta-10.jar:../lib /jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxm exs-0.5.1.jar:../lib/jibx-bind-SNAPSHOT.jar:../lib/jibx-run-SNAPSHOT.jar:../lib/ mail-1.4.jar:../lib/neethi-SNAPSHOT.jar:../lib/servletapi-2.3.jar:../lib/spring- beans-1.2.8.jar:../lib/spring-context-1.2.8.jar:../lib/spring-core-1.2.8.jar:../ lib/spring-web-1.2.8.jar:../lib/stax-api-1.0.1.jar:../lib/stax-utils-20060915.ja r:../lib/woden-1.0.0M6.jar:../lib/wsdl4j-1.6.1.jar:../lib/wstx-asl-3.0.1.jar:../ lib/xbean-2.2.0.jar:../lib/xercesImpl-2.8.1.jar:../lib/xml-apis-1.3.03.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer Adam Ellwood Sr. LDAP Upgrade Analyst (Cell) +1.443.223.9837 "Thilina Gunarathne" <[EMAIL PROTECTED]> 19-Oct-2006 09:32 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours. ~Thilina On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom- api-1.0.jar:../lib/axiom-dom-1.0.jar:../lib/axiom-impl-1.0.jar:../lib/axis2-adb- 1.0.jar:../lib/axis2-codegen-1.0.jar:../lib/axis2-jibx-1.0.jar:../lib/axis2-kern el-1.0.jar:../lib/axis2-tools-1.0.jar:../lib/axis2-xmlbeans-1.0.jar:../lib/backp ort-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileuplo ad-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:.. /lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1- rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-8.jar:../lib/ jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxme xs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/neethi-1.0.1.jar:../lib/servletapi-2 .3.jar:../lib/stax-api-1.0.jar:../lib/stax-utils-20060501.jar:../lib/wsdl4j-1.5. 2.jar:../lib/wstx-asl-2.9.3.jar:../lib/xbean-2.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/
Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer
HI Thilina, This is Axis2 build. -Adam "Thilina Gunarathne" <[EMAIL PROTECTED]> 19-Oct-2006 09:32 Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours. ~Thilina On 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom- api-1.0.jar:../lib/axiom-dom-1.0.jar:../lib/axiom-impl-1.0.jar:../lib/axis2-adb- 1.0.jar:../lib/axis2-codegen-1.0.jar:../lib/axis2-jibx-1.0.jar:../lib/axis2-kern el-1.0.jar:../lib/axis2-tools-1.0.jar:../lib/axis2-xmlbeans-1.0.jar:../lib/backp ort-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileuplo ad-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:.. /lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1- rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-8.jar:../lib/ jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxme xs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/neethi-1.0.1.jar:../lib/servletapi-2 .3.jar:../lib/stax-api-1.0.jar:../lib/stax-utils-20060501.jar:../lib/wsdl4j-1.5. 2.jar:../lib/wstx-asl-2.9.3.jar:../lib/xbean-2.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer -- http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/
Re: NoClassDefFoundError: org/apache/axis2/transport/http/SimpleHTTPServer
Seems like you have downloaded the 1.0.. Axis2 has moved a long way from there.. Please use the nightly builds available at http://people.apache.org/dist/axis2/nightly/ FYI: Today we modified the http-server to simpleaxis2server... You will get that in nightlies in few hours.~ThilinaOn 10/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I downloaded the latest standard binary build and I am running Windows XP and Cygwin. I am getting this error when I try to run the bin/http-server.sh script: $ sh ./http-server.sh the classpath :../lib/XmlSchema-1.0.2.jar:../lib/annogen-0.1.0.jar:../lib/axiom- api-1.0.jar:../lib/axiom-dom-1.0.jar:../lib/axiom-impl-1.0.jar:../lib/axis2-adb- 1.0.jar:../lib/axis2-codegen-1.0.jar:../lib/axis2-jibx-1.0.jar:../lib/axis2-kern el-1.0.jar:../lib/axis2-tools-1.0.jar:../lib/axis2-xmlbeans-1.0.jar:../lib/backp ort-util-concurrent-2.1.jar:../lib/commons-codec-1.3.jar:../lib/commons-fileuplo ad-1.0.jar:../lib/commons-httpclient-3.0.jar:../lib/commons-logging-1.0.4.jar:.. /lib/geronimo-spec-activation-1.0.2-rc4.jar:../lib/geronimo-spec-javamail-1.3.1- rc5.jar:../lib/geronimo-spec-jms-1.1-rc4.jar:../lib/jaxen-1.1-beta-8.jar:../lib/ jaxme2-0.5.1.jar:../lib/jaxmeapi-0.5.1.jar:../lib/jaxmejs-0.5.1.jar:../lib/jaxme xs-0.5.1.jar:../lib/log4j-1.2.13.jar:../lib/neethi-1.0.1.jar:../lib/servletapi-2 .3.jar:../lib/stax-api-1.0.jar:../lib/stax-utils-20060501.jar:../lib/wsdl4j-1.5. 2.jar:../lib/wstx-asl-2.9.3.jar:../lib/xbean-2.1.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis2/tran sport/http/SimpleHTTPServer -- http://webservices.apache.org/~thilina/http://thilinag.blogspot.com/