cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-4620) Exception at compilation when a 'space' character is present in maven local repository path
Date Thu, 08 Nov 2012 06:22:13 GMT

     [ https://issues.apache.org/jira/browse/CXF-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang reassigned CXF-4620:
---------------------------------

    Assignee: Freeman Fang
    
> Exception at compilation when a 'space' character is present in maven local repository
path
> -------------------------------------------------------------------------------------------
>
>                 Key: CXF-4620
>                 URL: https://issues.apache.org/jira/browse/CXF-4620
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.5.4, 2.7.0
>            Reporter: Hervé Barrault
>            Assignee: Freeman Fang
>            Priority: Minor
>
> I had the following error when my maven local repository path contains a 'space' character
(this is the case in Documents and Settings):
> org.apache.cxf.tools.common.ToolException: org.apache.cxf.bus.extension.ExtensionException:
Could not create object of extension class org.apache.cxf.catalog.OASISCatalogManager.
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:308)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
> 	at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.generate(WSDL2JavaMojo.java:380)
> 	at org.apache.cxf.maven_plugin.AbstractCodegenMoho.execute(AbstractCodegenMoho.java:257)
> 	at org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:477)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	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.cxf.bus.extension.ExtensionException: Could not create object of
extension class org.apache.cxf.catalog.OASISCatalogManager.
> 	at org.apache.cxf.bus.extension.Extension.load(Extension.java:222)
> 	at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:199)
> 	at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.java:303)
> 	at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:99)
> 	at org.apache.cxf.tools.common.toolspec.AbstractToolContainer.getBus(AbstractToolContainer.java:191)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:173)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:142)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:300)
> 	... 25 more
> Caused by: java.lang.IllegalArgumentException
> 	at java.net.URI.create(URI.java:841)
> 	at org.apache.cxf.catalog.OASISCatalogManager.loadCatalogs(OASISCatalogManager.java:147)
> 	at org.apache.cxf.catalog.OASISCatalogManager.loadContextCatalogs(OASISCatalogManager.java:133)
> 	at org.apache.cxf.catalog.OASISCatalogManager.<init>(OASISCatalogManager.java:73)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> 	at org.apache.cxf.bus.extension.Extension.load(Extension.java:199)
> 	... 32 more
> Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 22:
jar:file:/D:/Documents and Settings/####/.m2/repository/org/apache/cxf/cxf-tools-wsdlto-frontend-jaxws/2.7.0/cxf-tools-wsdlto-frontend-jaxws-2.7.0.jar!/META-INF/jax-ws-catalog.xml
> 	at java.net.URI$Parser.fail(URI.java:2810)
> 	at java.net.URI$Parser.checkChars(URI.java:2983)
> 	at java.net.URI$Parser.parse(URI.java:3020)
> 	at java.net.URI.<init>(URI.java:577)
> 	at java.net.URI.create(URI.java:839)
> 	... 40 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message