You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Austin Lowry (JIRA)" <ji...@apache.org> on 2008/08/19 15:59:44 UTC

[jira] Created: (CXF-1753) cxf-codegen:wsdl2java java.util.zip.ZipException: The system cannot find the path specified

cxf-codegen:wsdl2java java.util.zip.ZipException: The system cannot find the path specified
-------------------------------------------------------------------------------------------

                 Key: CXF-1753
                 URL: https://issues.apache.org/jira/browse/CXF-1753
             Project: CXF
          Issue Type: Bug
          Components: Build system
    Affects Versions: 2.1.2, 2.0.8
         Environment: Windows XP, Maven inside Eclipse
            Reporter: Austin Lowry
            Priority: Critical


While running the Maven plugin, I get the following exception below. The source of this exception is that on my Windows machine, the path property of the URL object includes a '/' character at the beginning and '%20' where the spaces are as in a URL. If I remove these elements in the debugger, the code executes fine. The path looks like:

/C:/Documents%20and%20Settings/user/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/2.0.8/cxf-tools-wsdlto-core-2.0.8.jar

Exception:

[INFO] cxf-codegen:wsdl2java
java.util.zip.ZipException: The system cannot find the path specified
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
	at java.util.jar.JarFile.<init>(JarFile.java:132)
	at java.util.jar.JarFile.<init>(JarFile.java:70)
	at org.apache.cxf.maven_plugin.CodegenUtils.getClassTime(CodegenUtils.java:74)
	at org.apache.cxf.maven_plugin.CodegenUtils.getCodegenTimestamp(CodegenUtils.java:48)
	at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:221)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220)
	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813)
	at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-1753) cxf-codegen:wsdl2java java.util.zip.ZipException: The system cannot find the path specified

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1753.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.3
                   2.0.9
         Assignee: Daniel Kulp

> cxf-codegen:wsdl2java java.util.zip.ZipException: The system cannot find the path specified
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-1753
>                 URL: https://issues.apache.org/jira/browse/CXF-1753
>             Project: CXF
>          Issue Type: Bug
>          Components: Build system
>    Affects Versions: 2.0.8, 2.1.2
>         Environment: Windows XP, Maven inside Eclipse
>            Reporter: Austin Lowry
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.0.9, 2.1.3
>
>
> While running the Maven plugin, I get the following exception below. The source of this exception is that on my Windows machine, the path property of the URL object includes a '/' character at the beginning and '%20' where the spaces are as in a URL. If I remove these elements in the debugger, the code executes fine. The path looks like:
> /C:/Documents%20and%20Settings/user/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-core/2.0.8/cxf-tools-wsdlto-core-2.0.8.jar
> Exception:
> [INFO] cxf-codegen:wsdl2java
> java.util.zip.ZipException: The system cannot find the path specified
> 	at java.util.zip.ZipFile.open(Native Method)
> 	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
> 	at java.util.jar.JarFile.<init>(JarFile.java:132)
> 	at java.util.jar.JarFile.<init>(JarFile.java:70)
> 	at org.apache.cxf.maven_plugin.CodegenUtils.getClassTime(CodegenUtils.java:74)
> 	at org.apache.cxf.maven_plugin.CodegenUtils.getCodegenTimestamp(CodegenUtils.java:48)
> 	at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:221)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:578)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:508)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:328)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:151)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:220)
> 	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:813)
> 	at org.maven.ide.eclipse.embedder.Maven2Executor.main(Maven2Executor.java:85)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.