For now I solved the problem adding the Snapshot files: <dependency> <groupId>org.apache.axis2.wso2</groupId> <artifactId>axis2</artifactId> <version>1.6.0.wso2v1-SNAPSHOT</version> </dependency>
But this also required adding some repositories. I don't like this solution but I think it will have to do for now... Ron McNulty-2 wrote: > > A little googling produces this result: > http://www.jarvana.com/jarvana/view/org/apache/axis2/axis2-kernel/1.1.1/axis2-kernel-1.1.1.jar!/org/apache/axis2/transport/local/LocalTransportSender.class?classDetails=ok > > I suspect that your set of Axis jars are from different versions of Axis - > maybe 1.5.1 kernel does not have this class anymore. Winzip will easily > confirm this.. > > Regards > > Ron > > ----- Original Message ----- > From: "srd.pl" <srolek2...@yahoo.com> > To: <users@tomcat.apache.org> > Sent: Friday, October 29, 2010 8:25 PM > Subject: Re: Tomcat Maven and Axis 1.5.1 problem > > >> >> Thanks for the contribution. I have posted on the axis list but no >> response >> and I'm running out of time :/ If you can take a look at a list of the >> .jar >> files my webservice has: >> >> activation-1.1.jar >> ant-1.7.0.jar >> ant-launcher-1.7.0.jar >> antlr-2.7.6.jar >> apache-maven-2.0.9.jar >> asm-3.1.jar >> asm-attrs-1.5.3.jar >> axiom-api-1.2.8.jar >> axiom-dom-1.2.8.jar >> axiom-impl-1.2.8.jar >> axis-wsdl4j-1.5.1.jar >> axis2-1.5.1.jar >> axis2-adb-1.5.1.jar >> axis2-adb-codegen-1.5.1.jar >> axis2-codegen-1.5.1.jar >> axis2-kernel-1.5.1.jar >> axis2-wsdl2code-maven-plugin-1.5.1.jar >> axis2-xmlbeans-1.5.1.jar >> cglib-nodep-2.2.jar >> classworlds-1.1-alpha-2.jar >> commons-cli-1.0.jar >> commons-codec-1.2.jar >> commons-collections-3.2.1.jar >> commons-fileupload-1.2.jar >> commons-httpclient-3.1.jar >> commons-io-1.4.jar >> commons-logging-1.1.1.jar >> dom4j-1.6.1.jar >> doxia-sink-api-1.0-alpha-10.jar >> ehcache-1.2.3.jar >> geronimo-activation_1.1_spec-1.0.1.jar >> geronimo-javamail_1.4_spec-1.2.jar >> geronimo-javamail_1.4_spec-1.6.jar >> geronimo-jta_1.1_spec-1.1.jar >> geronimo-stax-api_1.0_spec-1.0.1.jar >> geronimo-ws-metadata_2.0_spec-1.1.2.jar >> hibernate-3.2.7.ga.jar >> jaxb-api-2.2.1.jar >> jaxb-impl-2.2.1.1.jar >> jaxen-1.1.1.jar >> jdom-1.0.jar >> jersey-bundle-1.3.jar >> jersey-client-1.3.jar >> jersey-core-1.3.jar >> jersey-multipart-1.3.jar >> jsch-0.1.27.jar >> jsr311-api-1.1.1.jar >> jtidy-4aug2000r7-dev.jar >> log4j-1.2.14.jar >> mail-1.4.jar >> maven-artifact-2.0.8.jar >> maven-artifact-manager-2.0.7.jar >> maven-core-2.0.9.jar >> maven-error-diagnostics-2.0.9.jar >> maven-model-2.0.7.jar >> maven-monitor-2.0.9.jar >> maven-plugin-api-2.0.7.jar >> maven-plugin-descriptor-2.0.9.jar >> maven-plugin-parameter-documenter-2.0.9.jar >> maven-plugin-registry-2.0.7.jar >> maven-profile-2.0.7.jar >> maven-project-2.0.7.jar >> maven-reporting-api-2.0.9.jar >> maven-repository-metadata-2.0.7.jar >> maven-settings-2.0.7.jar >> maven-toolchain-2.0.9.jar >> maven-wadl-plugin-1.3.jar >> mimepull-1.4.jar >> neethi-2.0.4.jar >> plexus-container-default-1.0-alpha-9-stable-1.jar >> plexus-interactivity-api-1.0-alpha-4.jar >> plexus-utils-1.4.9.jar >> servlet-api-2.3.jar >> slf4j-api-1.5.11.jar >> slf4j-log4j12-1.5.11.jar >> slide-webdavlib-2.1.jar >> stax-api-1.0-2.jar >> wagon-file-1.0-beta-2.jar >> wagon-http-lightweight-1.0-beta-2.jar >> wagon-http-shared-1.0-beta-2.jar >> wagon-provider-api-1.0-beta-2.jar >> wagon-ssh-1.0-beta-2.jar >> wagon-ssh-common-1.0-beta-2.jar >> wagon-ssh-external-1.0-beta-2.jar >> wagon-webdav-1.0-beta-2.jar >> woden-api-1.0M8.jar >> woden-impl-dom-1.0M8.jar >> wsdl4j-1.6.2.jar >> wstx-asl-3.2.4.jar >> xalan-2.7.0.jar >> xercesImpl-2.6.1.jar >> xml-apis-1.0.b2.jar >> xml-apis-1.3.04.jar >> xml-im-exporter-1.1.jar >> xmlbeans-2.3.0.jar >> xmlParserAPIs-2.6.0.jar >> XmlSchema-1.4.3.jar >> >> And this is my pom.xml file: >> >> <project xmlns="http://maven.apache.org/POM/4.0.0" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 >> http://maven.apache.org/maven-v4_0_0.xsd"> >> <modelVersion>4.0.0</modelVersion> >> <groupId>com.mywebapp</groupId> >> <artifactId>WebApp</artifactId> >> <packaging>war</packaging> >> <name>WebApplication for Axis 2</name> >> <version>0.1</version> >> <dependencies> >> <dependency> >> <groupId>org.apache.tomcat</groupId> >> <artifactId>catalina</artifactId> >> <version>6.0.29</version> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.tomcat</groupId> >> <artifactId>coyote</artifactId> >> <version>6.0.29</version> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.tomcat</groupId> >> <artifactId>jasper</artifactId> >> <version>6.0.29</version> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-adb-codegen</artifactId> >> <version>1.5.1</version> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> >> <version>1.5.1</version> >> </dependency> >> <dependency> >> <groupId>com.sun.jersey.contribs</groupId> >> <artifactId>jersey-multipart</artifactId> >> <version>1.3</version> >> <!--version>1.0.1</version--> >> </dependency> >> <dependency> >> <groupId>com.sun.jersey</groupId> >> <artifactId>jersey-client</artifactId> >> <version>1.3</version> >> <!--version>1.0.1</version--> >> </dependency> >> <dependency> >> <groupId>com.sun.jersey</groupId> >> <artifactId>jersey-bundle</artifactId> >> <version>1.3</version> >> <!--version>1.0.1</version--> >> </dependency> >> <dependency> >> <groupId>commons-logging</groupId> >> <artifactId>commons-logging</artifactId> >> <version>1.1.1</version> >> <!--version>1.0.4</version--> >> </dependency> >> <dependency> >> <groupId>commons-collections</groupId> >> <artifactId>commons-collections</artifactId> >> <version>3.2.1</version> >> <!--version>3.1</version--> >> </dependency> >> <dependency> >> <groupId>org.slf4j</groupId> >> <artifactId>slf4j-log4j12</artifactId> >> <version>1.5.11</version> >> <!--version>1.5.6</version--> >> </dependency> >> <dependency> >> <groupId>junit</groupId> >> <artifactId>junit</artifactId> >> <version>4.8.2</version> >> <!--version>3.8.2</version--> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.glassfish.distributions</groupId> >> <artifactId>web-all</artifactId> >> <version>10.0-build-20080430</version> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.glassfish.embedded</groupId> >> <artifactId>gf-embedded-api</artifactId> >> <version>1.0-alpha-4</version> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>com.sun.jersey</groupId> >> <artifactId>jersey-server</artifactId> >> <version>1.3</version> >> <!--version>1.0.3.1</version--> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>com.sun.jersey.contribs</groupId> >> <artifactId>maven-wadl-plugin</artifactId> >> <version>1.3</version> >> <!--version>1.0.3.1</version--> >> </dependency> >> <dependency> >> <groupId>org.hibernate</groupId> >> <artifactId>hibernate</artifactId> >> <version>3.2.7.ga</version> >> <!--version>3.2.5.ga</version--> >> <exclusions> >> <exclusion> >> <groupId>javax.transaction</groupId> >> <artifactId>jta</artifactId> >> </exclusion> >> <exclusion> >> <groupId>cglib</groupId> >> <artifactId>cglib</artifactId> >> </exclusion> >> </exclusions> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2</artifactId> >> <version>1.5.1</version> >> <!--version>1.4.1</version--> >> </dependency> >> <dependency> >> <groupId>com.sun.xml.bind</groupId> >> <artifactId>jaxb-impl</artifactId> >> <version>2.2.1.1</version> >> <!--version>2.1.12</version--> >> </dependency> >> <dependency> >> <groupId>cglib</groupId> >> <artifactId>cglib-nodep</artifactId> >> <version>2.2</version> >> <!--version>2.1_3</version--> >> </dependency> >> <dependency> >> <groupId>wsdl4j</groupId> >> <artifactId>wsdl4j</artifactId> >> <version>1.6.2</version> >> </dependency> >> <dependency> >> <groupId>org.apache.ws.commons.axiom</groupId> >> <artifactId>axiom-api</artifactId> >> <version>1.2.8</version> >> </dependency> >> <dependency> >> <groupId>org.apache.ws.commons.axiom</groupId> >> <artifactId>axiom-impl</artifactId> >> <version>1.2.8</version> >> </dependency> >> <dependency> >> <groupId>axis</groupId> >> <artifactId>axis-wsdl4j</artifactId> >> <version>1.5.1</version> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-aar-maven-plugin</artifactId> >> <version>1.5.1</version> >> <!--version>1.4.1</version--> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-java2wsdl</artifactId> >> <version>1.5.1</version> >> <!--version>1.4.1</version--> >> <scope>test</scope> >> </dependency> >> <dependency> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-xmlbeans</artifactId> >> <version>1.5.1</version> >> <!--version>1.4.1</version--> >> </dependency> >> </dependencies> >> <build> >> <finalName>Webapp</finalName> >> <plugins> >> <plugin> >> <groupId>com.sun.tools.xjc.maven2</groupId> >> <artifactId>maven-jaxb-plugin</artifactId> >> <version>1.1.1</version> >> <!--version>1.1</version--> >> <executions> >> <execution> >> <phase>generate-sources</phase> >> <goals> >> <goal>generate</goal> >> </goals> >> </execution> >> </executions> >> <configuration> >> <generatePackage>com.mywebpack.wsparameters</generatePackage> >> <schemaDirectory>../mywebpack/src/main/resources >> </schemaDirectory> >> <includeSchemas> >> <includeSchema>**/*.xsd</includeSchema> >> </includeSchemas> >> <extension>true</extension> >> <strict>false</strict> >> <verbose>false</verbose> >> </configuration> >> </plugin> >> <plugin> >> <groupId>com.sun.jersey.contribs</groupId> >> <artifactId>maven-wadl-plugin</artifactId> >> <version>1.3</version> >> <!--version>1.0.3.1</version--> >> <executions> >> <execution> >> <id>generate</id> >> <goals> >> <goal>generate</goal> >> </goals> >> <phase>compile</phase> >> </execution> >> </executions> >> <configuration> >> <wadlFile>${project.build.outputDirectory}/application.wadl >> </wadlFile> >> <formatWadlFile>true</formatWadlFile> >> <baseUri>http://192.168.2.149:8080/${project.build.finalName} >> </baseUri> >> <packagesResourceConfig> >> com.mywebpack.rest.resources >> </packagesResourceConfig> >> <wadlGenerators> >> <wadlGeneratorDescription> >> >> <className>com.sun.jersey.server.wadl.generators.WadlGeneratorApplicationDoc >> </className> >> <properties> >> <property> >> <name>applicationDocsFile</name> >> <value>${basedir}/src/main/doc/application-doc.xml</value> >> </property> >> </properties> >> </wadlGeneratorDescription> >> <wadlGeneratorDescription> >> >> <className>com.sun.jersey.server.wadl.generators.WadlGeneratorGrammarsSupport >> </className> >> <properties> >> <property> >> <name>grammarsFile</name> >> <value>${basedir}/src/main/doc/application-grammars.xml</value> >> </property> >> </properties> >> </wadlGeneratorDescription> >> <wadlGeneratorDescription> >> >> <className>com.sun.jersey.server.wadl.generators.resourcedoc.WadlGeneratorResourceDocSupport >> </className> >> <properties> >> <property> >> <name>resourceDocFile</name> >> <value>${project.build.outputDirectory}/resourcedoc.xml</value> >> </property> >> </properties> >> </wadlGeneratorDescription> >> </wadlGenerators> >> </configuration> >> </plugin> >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>exec-maven-plugin</artifactId> >> <version>1.2</version> >> <!--version>1.1</version--> >> <executions> >> <execution> >> <goals> >> <goal>java</goal> >> </goals> >> </execution> >> </executions> >> <configuration> >> <mainClass>com.sun.jersey.samples.generatewadl.Main</mainClass> >> </configuration> >> </plugin> >> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-compiler-plugin</artifactId> >> <inherited>true</inherited> >> <configuration> >> <source>1.6</source> >> <target>1.6</target> >> >> </configuration> >> </plugin> >> >> <plugin> >> <groupId>org.jvnet.jaxb2.maven2</groupId> >> <artifactId>maven-jaxb2-plugin</artifactId> >> <executions> >> <execution> >> <goals> >> <goal>generate</goal> >> </goals> >> </execution> >> </executions> >> </plugin> >> <plugin> >> <groupId>org.apache.axis2</groupId> >> <artifactId>axis2-wsdl2code-maven-plugin</artifactId> >> <version>1.5.1</version> >> <!--version>1.4.1</version--> >> <executions> >> <execution> >> <id>generate reco core</id> >> <phase>generate-sources</phase> >> <goals> >> <goal>wsdl2code</goal> >> </goals> >> <configuration> >> <packageName>com.mywebpack.rest.webapp</packageName> >> <wsdlFile>src/main/java/com/mywebpack/wsdl/web.wsdl</wsdlFile> >> <databindingName>adb</databindingName> >> </configuration> >> </execution> >> </executions> >> </plugin> >> <plugin> >> <groupId>com.sun.tools.xjc.maven2</groupId> >> <artifactId>maven-jaxb-plugin</artifactId> >> <version>1.1.1</version> >> <!--version>1.1</version--> >> <executions> >> <execution> >> <goals> >> <goal>generate</goal> >> </goals> >> </execution> >> </executions> >> <configuration> >> <generatePackage>com.mywebpack.wsparameters</generatePackage> >> >> <schemaDirectory>src/main/xsd</schemaDirectory> <includeSchemas> >> <includeSchema>**/*.xsd</includeSchema> </includeSchemas> >> <extension>true</extension> >> >> <strict>false</strict> >> <verbose>true</verbose> >> </configuration> >> </plugin> >> </plugins> >> </build> >> <profiles> >> <profile> >> <id>jdk-1.6</id> >> <activation> >> <jdk>1.6</jdk> >> </activation> >> <dependencies> >> <dependency> >> <groupId>com.sun.xml.bind</groupId> >> <artifactId>jaxb-impl</artifactId> >> <version>2.2.1.1</version> >> <!--version>2.1.10</version--> >> </dependency> >> </dependencies> >> </profile> >> <profile> >> <id>xsltproc</id> >> <activation> >> <file> >> <exists>../xsltproc_win32/xsltproc.exe</exists> >> <!--exists>xsltproc</exists--> >> </file> >> </activation> >> <build> >> <plugins> >> <!-- Create/generate the application.html using xsltproc --> >> <!-- Create/generate the application.html using xsltproc --> >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>exec-maven-plugin</artifactId> >> <version>1.2</version> >> <!--version>1.1</version--> >> <executions> >> <execution> >> <id>copy-docs-to-builddir</id> >> <goals> >> <goal>exec</goal> >> </goals> >> <phase>compile</phase> >> <configuration> >> <executable>copy</executable> >> <commandlineArgs>src\\main\\doc\\*.* target\\classes >> </commandlineArgs> >> </configuration> >> </execution> >> <execution> >> <id>prepare-xsltproc</id> >> <goals> >> <goal>exec</goal> >> </goals> >> <phase>package</phase> >> <configuration> >> <executable>copy</executable> >> <commandlineArgs>..\\mywebapp\\src\\main\\resources\\*.xsd >> target\\classes</commandlineArgs> >> </configuration> >> </execution> >> <execution> >> <id>exec-xsltproc: target/application.html</id> >> <goals> >> <goal>exec</goal> >> </goals> >> <phase>package</phase> >> <configuration> >> <executable>xsltproc</executable> >> <executable>../xsltproc_win32/xsltproc.exe</executable> >> <commandlineArgs>-o target/application.html >> src/main/doc/wadl_documentation.xsl >> target/classes/application.wadl</commandlineArgs> >> </configuration> >> </execution> >> </executions> >> </plugin> >> >> >> </plugins> >> </build> >> </profile> >> </profiles> >> <pluginRepositories> >> <pluginRepository> >> <id>maven2-repository.dev.java.net</id> >> <name>Java.net Repository for Maven</name> >> <url>http://download.java.net/maven/2</url> >> <layout>default</layout> >> </pluginRepository> >> <pluginRepository> >> <id>maven-repository.dev.java.net</id> >> <name>Java.net Maven 1 Repository (legacy)</name> >> <url>http://download.java.net/maven/1</url> >> <layout>legacy</layout> >> </pluginRepository> >> </pluginRepositories> >> <repositories> >> <repository> >> <id>maven2-repository.dev.java.net</id> >> <name>Java.net Repository for Maven</name> >> <url>http://download.java.net/maven/2</url> >> <layout>default</layout> >> </repository> >> <repository> >> <id>maven-repository.dev.java.net</id> >> <name>Java.net Maven 1 Repository (legacy)</name> >> <url>http://download.java.net/maven/1</url> >> <layout>legacy</layout> >> </repository> >> <repository> >> <id>glassfish-repository</id> >> <name>Java.net Repository for Glassfish</name> >> <url>http://download.java.net/maven/glassfish</url> >> </repository> >> </repositories> >> </project> >> >> Pid * wrote: >>> >>> On 28/10/2010 13:43, srd.pl wrote: >>>> Caused by: java.lang.ClassNotFoundException: >>>> org.apache.axis2.transport.local.LocalTransportSender >>>> at >>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1438) >>>> at >>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1284) >>>> at java.lang.Class.forName0(Native Method) >>>> at java.lang.Class.forName(Unknown Source) >>>> at org.apache.axis2.util.Loader.loadClass(Loader.java:261) >>>> at >>>> org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:669) >>> >>> 1 email to the list is sufficent, please be patient. >>> >>> The root cause is a ClassNotFoundException. Are you sure you have >>> included all of the jars in the application? >>> >>> The Axis lists may be a better location to find out more about your >>> problem. >>> >>> >>> p >>> >>> >>> >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Tomcat-Maven-and-Axis-1.5.1-problem-tp30076159p30083507.html >> Sent from the Tomcat - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/Tomcat-Maven-and-Axis-1.5.1-problem-tp30076159p30112132.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org