axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyle.Bober" <kyle_bo...@yahoo.com>
Subject Build Error using axis2-java2wsdl-maven-plugin
Date Thu, 06 Dec 2007 20:00:31 GMT

I keep trying to generate a WSDL using the Axis2 Maven plug in but keep
receiving the following error upon execution:

[DEBUG] Configuring mojo
'org.apache.axis2.maven2:axis2-java2wsdl-maven-plugin:1.1:java2wsdl' -->
[DEBUG]   (f) className = com.agfa.websend.services.axis2.ws.RegisterUserWS
[DEBUG]   (f) outputFileName =
C:\Projects\AGFA\WebSend\websend-jee-application\websend-webservices-axis2-server\target\classes/generated-resources/
va2wsdl/service.xml
[DEBUG]   (f) project = org.apache.maven.project.MavenProject@cc5cb6dd
[DEBUG] -- end configuration --
[INFO] [axis2-java2wsdl:java2wsdl]
java.lang.Exception: java.io.IOException: The filename, directory name, or
volume label syntax is incorrect
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2WSDLCodegenEngine.java:93)
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.<init>(Java2WSDLCodegenEngine.java:47)
        at
org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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:597)
        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: java.io.IOException: The filename, directory name, or volume
label syntax is incorrect
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:883)
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2WSDLCodegenEngine.java:89)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] java.io.IOException: The filename, directory name, or volume label
syntax is incorrect

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: java.io.IOException:
The filename, directory name, or volume label syntax is incorrect
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        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:597)
        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.io.IOException: The filename, directory name, or volume label syntax is
incorrect
        at
org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:149)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        ... 16 more
Caused by: java.lang.Exception: java.io.IOException: The filename, directory
name, or volume label syntax is incorrect
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2WSDLCodegenEngine.java:93)
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.<init>(Java2WSDLCodegenEngine.java:47)
        at
org.apache.axis2.maven2.java2wsdl.Java2WSDLMojo.execute(Java2WSDLMojo.java:146)
        ... 18 more
Caused by: java.io.IOException: The filename, directory name, or volume
label syntax is incorrect
        at java.io.WinNTFileSystem.createFileExclusively(Native Method)
        at java.io.File.createNewFile(File.java:883)
        at
org.apache.ws.java2wsdl.Java2WSDLCodegenEngine.resolveOutputStream(Java2WSDLCodegenEngine.java:89)
        ... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Dec 06 14:52:05 EST 2007
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------


Here is a copy of my POM :

<?xml version="1.0"?><project>
  
  	<parent>
		<groupId>com.agfa.websend.jee</groupId>
	    <artifactId>websend-jee-pom</artifactId>
	    <version>1.0-SNAPSHOT</version>        
	</parent>
  
  	<modelVersion>4.0.0</modelVersion>
    <artifactId>websend-webservices-axis2-server</artifactId>
    <packaging>war</packaging>
    <name>WebSend - WebServices Axis2 Server</name>
    <url>http://www.heartlab.com</url>
    <description>Write a few paragraphs to say what your project is
about.</description>
  
  	<build> 
        <finalName>${pom.artifactId}</finalName>       
        <plugins>              
            <plugin>
        		<groupId>org.apache.axis2.maven2</groupId>
        		<artifactId>axis2-java2wsdl-maven-plugin</artifactId>        		    
   		
        		<configuration>
          		
<className>com.agfa.websend.services.axis2.ws.RegisterUserWS</className>     
    			          		
        		</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>       
            <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>
-- 
View this message in context: http://www.nabble.com/Build-Error-using-axis2-java2wsdl-maven-plugin-tf4958230.html#a14199743
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message