Did you happen to resolve this issue??? I just started using htis plugin and
ran into the same issue... here is my POM.xml

<?xml version="1.0"?><project>
  <parent>
    <artifactId>WebSend-Application</artifactId>
    <groupId>com.heartlab.ws</groupId>
    <version>0.0.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.heartlab.ws</groupId>
  <artifactId>WebSend-Axis2-Server-WebServices</artifactId>
  <name>WebSend-Axis2-Server-WebServices</name>
  <version>1.0-SNAPSHOT</version>
  <url>http://maven.apache.org</url>
  
  <build> 
        <finalName>${pom.artifactId}</finalName>       
        <plugins>
            <!-- 
            <plugin>
                        <groupId>org.apache.axis2.maven2</groupId>
                        <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                        <executions>
                                <execution>
                                        <goals>
                                                <goal>wsdl2code</goal>
                                        </goals>
                                </execution>
                                <configuration>
                                        
<packageName>com.foo.myservice</packageName>
                                </configuration>
                        </executions>
                </plugin>
                -->            
            <plugin>
                        <groupId>org.apache.axis2.maven2</groupId>
                        <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
                        <version>1.1</version>                  
                        <executions>
                                <execution>
                                <goals>
                                        <goal>java2wsdl</goal>
                                </goals>
                                </execution>
                        </executions>
                        <configuration>
                        
<className>com.heartlab.ws.services.StockQuoteService</className>
                                <outputFileName>a-wsdl-file</outputFileName>
                                <!-- 
                                <schemaTargetNamespace></schemaTargetNamespace> 
                                
                                
<schemaTargetNamespacePrefix></schemaTargetNamespacePrefix>
                                <serviceName></serviceName>
                                <targetNamespace></targetNamespace>
                                <targetNamespacePrefix></targetNamespacePrefix>
                                -->
                        </configuration>
                        
                </plugin>                            
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <!-- Remove the Axis2 Generated Code -->  
            <!--           
            <plugin>
                <artifactId>maven-clean-plugin</artifactId>
                <executions>
                    <execution>
                        <id>Delete JAX-WS Generated Server Source</id>
                        <goals>
                            <goal>clean</goal>
                        </goals>
                        <phase>clean</phase>
                        <configuration>
                            <filesets>
                                <fileset>
                                   
<directory>${java.src.directory}/com/heartlab/ws/services/jaxws</directory>
                                        <includes>
                                            <include>*.*</include>
                                        </includes>
                                       
<followSymlinks>false</followSymlinks>
                                </fileset>
                            </filesets>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            -->            
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jboss-maven-plugin</artifactId>
                <!-- Make this dynamic somehow to support multiple server
configurations --> 
                <configuration>
                    <jbossHome>${jboss.home}</jbossHome>
                    <port>${jboss.port}</port>
                </configuration>
            </plugin>
        </plugins>
    </build>
  
  <dependencies>
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>    
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-adb</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>    
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-jibx</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-xmlbeans</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>      
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-addressing</artifactId>
      <version>1.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-saaj</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-jaxws</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-json</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>    
    <dependency>
      <groupId>org.apache.axis2</groupId>
      <artifactId>axis2-spring</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>    
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

Any advice is much appreciated!!!
-Kyle


tindor wrote:
> 
> Hi,
> I'm having problems creating a webservice using the axis plugin.
> I'm trying to compile the file and everything is okay, the class file is
> where it should be, but the plugin (axis2-java2wsdl-maven-plugin) does not
> seem to find it.
> Here's the pom 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>webservice</groupId>
>   <artifactId>webservice</artifactId>
>   <packaging>jar</packaging>
>   <version>1.2.4</version>
>   <name>webservice</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
> <dependency>
>       <groupId>org.apache.ws.commons.axiom</groupId>
>       <artifactId>axiom-api</artifactId>
>       <version>1.2.4</version>
>     </dependency>
> <dependency>
>   <groupId>org.apache.axis2.maven2</groupId>
>   <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>   <version>1.1</version>
>   <type>plugin</type>
> </dependency>
>   </dependencies>
>  <build>
>       <directory>target</directory>
>     <outputDirectory>target/classes</outputDirectory>
> 
>     <plugins>
>       <plugin>
>         <groupId>org.apache.axis2.maven2</groupId>
>         <artifactId>axis2-java2wsdl-maven-plugin</artifactId>
>       <version>1.1</version>
>         <configuration>
>               <classpathElements>classes</classpathElements>
>           <className>bg.vereo.bivanov.webservice.HelloImpl</className>
>       <outputFileName>HelloImpl.ws</outputFileName>
>       <schemaTargetNamespace>http://boyan</schemaTargetNamespace>
>       <schemaTargetNamespacePrefix>http://bobo</schemaTargetNamespacePrefix>
>       <targetNamespacePrefix>http://bogf</targetNamespacePrefix>
>         </configuration>
>         <executions>
>           <execution>
>             <goals>
>               <goal>java2wsdl</goal>
>             </goals>
>           </execution>
>          </executions>
>       </plugin>
>   <plugin>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <configuration>
>           <source>1.5</source>
>           <target>1.5</target>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build> 
> </project>
> 
> And the output from mvn test -X :
> 
> 
> + Error stacktraces are turned on.
> Maven version: 2.0.4
> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
> Settings\bivanov\.m2\plugin-registry.xml'
> [DEBUG] Building Maven global-level plugin registry from:
> 'C:\maven-2.0.4\bin\..\conf\plugin-registry.xml'
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building webservice
> [INFO]    task-segment: [test]
> [INFO]
> ----------------------------------------------------------------------------
> [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1
> for project: null:maven-resources-plugin:maven-plugin:2.2 from the
> repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
> project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
> org.apache.maven:maven-parent:pom:1 from the repository.
> [DEBUG] maven-compiler-plugin: resolved to version 2.0.2 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::8
> for project: null:maven-compiler-plugin:maven-plugin:2.0.2 from the
> repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for
> project: org.apache.maven.plugins:maven-plugins:pom:8 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
> org.apache.maven:maven-parent:pom:5 from the repository.
> [DEBUG] maven-surefire-plugin: resolved to version 2.3 from repository
> central
> [DEBUG] Retrieving parent-POM: org.apache.maven.surefire:surefire::2.3 for
> project: org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.3
> from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for
> project: org.apache.maven.surefire:surefire:pom:2.3 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
> org.apache.maven:maven-parent:pom:5 from the repository.
> [DEBUG] Retrieving parent-POM:
> org.apache.axis2.maven2:axis2-maven-tools::1.1 for project:
> null:axis2-java2wsdl-maven-plugin:maven-plugin:1.1 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache.axis2:axis2-parent::1.1 for
> project: org.apache.axis2.maven2:axis2-maven-tools:pom:null from the
> repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
> org.apache.axis2:axis2-parent:pom:1.1 from the repository.
> [DEBUG] webservice:webservice:jar:1.2.4 (selected for null)
> [DEBUG]  
> org.apache.axis2.maven2:axis2-java2wsdl-maven-plugin:plugin:1.1:compile
> (selected for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> null:maven-project:jar:2.0.4 from the repository.
> [DEBUG]     org.apache.maven:maven-project:jar:2.0.4:compile (selected for
> compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> org.apache.maven:maven-artifact:jar:2.0.4 from the repository.
> [DEBUG]       org.apache.maven:maven-artifact:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
> project: null:plexus-utils:jar:1.1 from the repository.
> [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM:
> org.codehaus.plexus:plexus-containers::1.0.3 for project:
> null:plexus-container-default:jar:1.0-alpha-9 from the repository.
> [DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
> project: org.codehaus.plexus:plexus-containers:pom:1.0.3 from the
> repository.
> [DEBUG]      
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile
> (selected for compile)
> [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:compile
> (removed - nearer found: 1.1)
> [DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:compile (selected
> for compile)
> [DEBUG]         junit:junit:jar:3.8.1:compile (selected for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> null:maven-settings:jar:2.0.4 from the repository.
> [DEBUG]       org.apache.maven:maven-settings:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> org.apache.maven:maven-model:jar:2.0.4 from the repository.
> [DEBUG]         org.apache.maven:maven-model:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> org.apache.maven:maven-artifact-manager:jar:2.0.4 from the repository.
> [DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.0.4:compile
> (selected for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven.wagon:wagon::1.0-alpha-6
> for project: null:wagon-provider-api:jar:1.0-alpha-6 from the repository.
> [DEBUG]        
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
> (selected for compile)
> [DEBUG]           org.codehaus.plexus:plexus-utils:jar:1.0.4:compile
> (removed - nearer found: 1.1)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> org.apache.maven:maven-repository-metadata:jar:2.0.4 from the repository.
> [DEBUG]        
> org.apache.maven:maven-repository-metadata:jar:2.0.4:compile (selected for
> compile)
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected
> for compile)
> [DEBUG]       org.apache.maven:maven-model:jar:2.0.4:compile (selected for
> compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> null:maven-profile:jar:2.0.4 from the repository.
> [DEBUG]       org.apache.maven:maven-profile:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0.4 for project:
> org.apache.maven:maven-plugin-api:jar:2.0.4 from the repository.
> [DEBUG]     org.apache.maven:maven-plugin-api:jar:2.0.4:compile (selected
> for compile)
> [DEBUG] Retrieving parent-POM: org.apache.axis2:axis2-parent::1.1 for
> project: null:axis2-java2wsdl:jar:1.1 from the repository.
> [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
> org.apache.axis2:axis2-parent:pom:1.1 from the repository.
> [DEBUG]     org.apache.axis2:axis2-java2wsdl:jar:1.1:compile (selected for
> compile)
> [DEBUG] Trying repository central
> Downloading:
> http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-10/jaxen-1.1-beta-10.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [DEBUG] Artifact not found - using stub model: Unable to download the
> artifact from any repository
> 
>   jaxen:jaxen:pom:1.1-beta-10
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> [DEBUG] Using defaults for missing POM jaxen:jaxen:pom:1.1-beta-10:compile
> [DEBUG]       jaxen:jaxen:jar:1.1-beta-10:compile (selected for compile)
> [DEBUG]       commons-logging:commons-logging:jar:1.1:compile (selected
> for compile)
> [DEBUG]         avalon-framework:avalon-framework:jar:4.1.3:compile
> (selected for compile)
> [DEBUG]         javax.servlet:servlet-api:jar:2.3:compile (selected for
> compile)
> [DEBUG]         logkit:logkit:jar:1.0.1:compile (selected for compile)
> [DEBUG]         log4j:log4j:jar:1.2.12:compile (selected for compile)
> [DEBUG]       ant:ant:jar:1.6.5:compile (selected for compile)
> [DEBUG]       org.apache.ws.commons.schema:XmlSchema:jar:1.2:compile
> (selected for compile)
> [DEBUG] Trying repository central
> Downloading:
> http://repo1.maven.org/maven2/woodstox/wstx-asl/3.0.1/wstx-asl-3.0.1.pom
> [WARNING] Unable to get resource from repository central
> (http://repo1.maven.org/maven2)
> [DEBUG] Artifact not found - using stub model: Unable to download the
> artifact from any repository
> 
>   woodstox:wstx-asl:pom:3.0.1
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> [DEBUG] Using defaults for missing POM woodstox:wstx-asl:pom:3.0.1:compile
> [DEBUG]       woodstox:wstx-asl:jar:3.0.1:compile (selected for compile)
> [DEBUG] Retrieving parent-POM:
> org.apache.ws.commons.axiom:axiom-parent::1.2 for project:
> null:axiom-impl:jar:1.2 from the repository.
> [DEBUG]       org.apache.ws.commons.axiom:axiom-impl:jar:1.2:compile
> (selected for compile)
> [DEBUG] Skipping disabled repository central
> [DEBUG] axiom-api: using locally installed snapshot
> [DEBUG] Skipping disabled repository central
> [DEBUG] Artifact not found - using stub model: Unable to download the
> artifact from any repository
> 
>   org.apache.ws.commons.axiom:axiom-api:pom:SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> [DEBUG] Using defaults for missing POM
> org.apache.ws.commons.axiom:axiom-api:pom:SNAPSHOT:compile
> [DEBUG]         org.apache.ws.commons.axiom:axiom-api:jar:SNAPSHOT:compile
> (selected for compile)
> [DEBUG]       stax:stax-api:jar:1.0.1:compile (selected for compile)
> [DEBUG]       javax.mail:mail:jar:1.4:compile (selected for compile)
> [DEBUG]         javax.activation:activation:jar:1.1:compile (selected for
> compile)
> [DEBUG]       annogen:annogen:jar:0.1.0:compile (selected for compile)
> [DEBUG] Retrieving parent-POM:
> org.apache.ws.commons.axiom:axiom-parent::1.2.4 for project:
> null:axiom-api:jar:1.2.4 from the repository.
> [DEBUG]   org.apache.ws.commons.axiom:axiom-api:jar:SNAPSHOT:compile
> (removed - nearer found: 1.2.4)
> [DEBUG]   org.apache.ws.commons.axiom:axiom-api:jar:1.2.4:compile
> (selected for compile)
> [DEBUG]     jaxen:jaxen:jar:1.1-beta-10:compile (removed - nearer found:
> 1.1-beta-9)
> [DEBUG]     jaxen:jaxen:jar:1.1-beta-9:compile (selected for compile)
> [DEBUG]       xerces:xercesImpl:jar:2.6.2:compile (selected for compile)
> [DEBUG]     stax:stax-api:jar:1.0.1:compile (selected for compile)
> [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
> xml-apis:xml-apis:jar:1.3.03 from the repository.
> [DEBUG]     xml-apis:xml-apis:jar:1.3.03:compile (selected for compile)
> [DEBUG]     javax.mail:mail:jar:1.4:compile (selected for compile)
> [DEBUG]       javax.activation:activation:jar:1.1:compile (selected for
> compile)
> [DEBUG]     commons-logging:commons-logging:jar:1.1:compile (removed -
> nearer found: 1.0.4)
> [DEBUG]     commons-logging:commons-logging:jar:1.0.4:compile (selected
> for compile)
> [DEBUG]   junit:junit:jar:3.8.1:test (not setting scope to: compile; local
> scope test wins)
> [WARNING] 
>       Artifact junit:junit:jar:3.8.1:test retains local scope 'test' 
> overriding
> broader scope 'compile'
>       given by a dependency. If this is not intended, modify or remove the
> local scope.
> 
> [DEBUG]   junit:junit:jar:3.8.1:test (selected for test)
> [DEBUG]
> org.apache.axis2.maven2:axis2-java2wsdl-maven-plugin:maven-plugin:1.1:runtime
> (selected for runtime)
> [DEBUG]   org.apache.maven:maven-project:jar:2.0.4:runtime (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-artifact:jar:2.0.4:runtime (selected
> for runtime)
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected
> for runtime)
> [DEBUG]    
> org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:runtime
> (selected for runtime)
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed
> - nearer found: 1.1)
> [DEBUG]       classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
> for runtime)
> [DEBUG]       junit:junit:jar:3.8.1:runtime (selected for runtime)
> [DEBUG]     org.apache.maven:maven-settings:jar:2.0.4:runtime (selected
> for runtime)
> [DEBUG]       org.apache.maven:maven-model:jar:2.0.4:runtime (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-artifact-manager:jar:2.0.4:runtime
> (selected for runtime)
> [DEBUG]      
> org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:runtime
> (selected for runtime)
> [DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime
> (removed - nearer found: 1.1)
> [DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.0.4:runtime
> (selected for runtime)
> [DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-model:jar:2.0.4:runtime (selected for
> runtime)
> [DEBUG]     org.apache.maven:maven-profile:jar:2.0.4:runtime (selected for
> runtime)
> [DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0.4:runtime (selected
> for runtime)
> [DEBUG]   org.apache.axis2:axis2-java2wsdl:jar:1.1:runtime (selected for
> runtime)
> [DEBUG]     jaxen:jaxen:jar:1.1-beta-10:runtime (selected for runtime)
> [DEBUG]     commons-logging:commons-logging:jar:1.1:runtime (selected for
> runtime)
> [DEBUG]       avalon-framework:avalon-framework:jar:4.1.3:runtime
> (selected for runtime)
> [DEBUG]       javax.servlet:servlet-api:jar:2.3:runtime (selected for
> runtime)
> [DEBUG]       logkit:logkit:jar:1.0.1:runtime (selected for runtime)
> [DEBUG]       log4j:log4j:jar:1.2.12:runtime (selected for runtime)
> [DEBUG]     ant:ant:jar:1.6.5:runtime (selected for runtime)
> [DEBUG]     org.apache.ws.commons.schema:XmlSchema:jar:1.2:runtime
> (selected for runtime)
> [DEBUG]     woodstox:wstx-asl:jar:3.0.1:runtime (selected for runtime)
> [DEBUG]     org.apache.ws.commons.axiom:axiom-impl:jar:1.2:runtime
> (selected for runtime)
> [DEBUG]       org.apache.ws.commons.axiom:axiom-api:jar:SNAPSHOT:runtime
> (selected for runtime)
> [DEBUG]     stax:stax-api:jar:1.0.1:runtime (selected for runtime)
> [DEBUG]     javax.mail:mail:jar:1.4:runtime (selected for runtime)
> [DEBUG]       javax.activation:activation:jar:1.1:runtime (selected for
> runtime)
> [DEBUG]     annogen:annogen:jar:0.1.0:runtime (selected for runtime)
> [DEBUG] axiom-api: using locally installed snapshot
> [DEBUG] Configuring mojo
> 'org.apache.axis2.maven2:axis2-java2wsdl-maven-plugin:1.1:java2wsdl' -->
> [DEBUG]   (f) className = bg.vereo.bivanov.webservice.HelloImpl
> [DEBUG]   (f) outputFileName = HelloImpl.ws
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) schemaTargetNamespace = http://boyan
> [DEBUG]   (f) schemaTargetNamespacePrefix = http://bobo
> [DEBUG]   (f) targetNamespacePrefix = http://bogf
> [DEBUG] -- end configuration --
> [INFO] [axis2-java2wsdl:java2wsdl {execution: default}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] java.lang.ClassNotFoundException:
> bg.vereo.bivanov.webservice.HelloImpl
> 
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException:
> java.lang.ClassNotFoundException: bg.vereo.bivanov.webservice.HelloImpl
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>       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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException:
> java.lang.ClassNotFoundException: bg.vereo.bivanov.webservice.HelloImpl
>       at
> org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:149)
>       at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>       at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>       ... 16 more
> Caused by: java.lang.Exception: java.lang.ClassNotFoundException:
> bg.vereo.bivanov.webservice.HelloImpl
>       at
> org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:58)
>       at
> org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146)
>       ... 18 more
> Caused by: java.lang.ClassNotFoundException:
> bg.vereo.bivanov.webservice.HelloImpl
>       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
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>       at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>       at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>       at
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>       at
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:242)
>       at
> org.apache.ws.java2wsdl.SchemaGenerator.<init>(SchemaGenerator.java:92)
>       at
> org.apache.ws.java2wsdl.Java2WSDLBuilder.generateWSDL(Java2WSDLBuilder.java:152)
>       at
> org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.generate(Java2WSDLCodegenEngine.java:56)
>       ... 19 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Tue Jul 24 09:46:48 EEST 2007
> [INFO] Final Memory: 4M/8M
> [INFO]
> ------------------------------------------------------------------------
> 
> Thanks in advance
> 
> Boyan Ivanov
> 

-- 
View this message in context: 
http://www.nabble.com/ClassNotFoundException-with-maven-and-axis2-plugin-tf4134129s177.html#a12948450
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to