Hi,

I fixed the error by removing the corresponding JAR files from the Maven 
repository, checking the POM dependencies, and re-installing them.

Ciao, Philipp

> -----Mensaje original-----
> De: Rossmanith, Philipp
> Enviado el: miƩrcoles, 03 de octubre de 2007 21:09
> Para: [email protected]
> Asunto: Error when trying to generate jsr181 service unit:
> "java.net.MalformedURLException: no !/ in spec"
> 
> Hi,
> 
> I am trying to "mvn-install" a jsr181-wsdl first service unit with the
> following xbean.xml*).
> 
> When I run mvn install, I get an error:
> "java.net.MalformedURLException: no !/ in spec"**).
> 
> Now I'm able to nail it down to the wsdlResource attribute; if I remove
> it, I get a different error***).
> 
> My setup is that I do have another Maven project (XXX-datamodel) that I
> import in which I have the generated classes as well as the WSDL files
> in question. However, I also tried with the files inside my XXX-service
> project, and I received the same error. I also tried with and without a
> classpath-element indicating the current folder as classpath
> location****). I'm running SM 3.1.1.
> 
> The WSDL file is importing several XSD files, both from the local
> directory and the Internet.
> 
> I looked for the error in both the SM lists and the internet, but the
> only thing I found was that it might have to do something with jar: URL
> (http://mail-archives.apache.org/mod_mbox/tomcat-users/200408.mbox/%3c1A
> [EMAIL PROTECTED]).
> 
> Any ideas to what this error might be related, and how I can resolve it?
> 
> Thanks in advance,
> Ciao, Philipp
> 
> *)
> <beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
> 
> xmlns:dac="http://iisys.icing.eu/systemcore/dataaccess/impl/1.0/";>
>       <jsr181:endpoint style="document"
>               wsdlResource="classpath:issue.wsdl">
>               <jsr181:pojo>
>                       <bean
> 
> class="eu.icing.issuereport.backend.impl.dac.DacIssueReportServiceImpl">
>                               ...
>                       </bean>
>               </jsr181:pojo>
>       </jsr181:endpoint>
> </beans>
> 
> **)
> Embedded error: Unable to generate service unit descriptor!
> <component-task-result
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>         <component-name>null</component-name>
>         <component-task-result-details>
>                 <task-result-details>
>                         <task-id>deploy</task-id>
>                         <task-result>FAILED</task-result>
>                         <message-type>ERROR</message-type>
> 
> <task-status-msg><msg-loc-info><loc-token/><loc-message>java.net.Malform
> edURLException: no !/ in
>  spec</loc-message></msg-loc-info></task-status-msg>
>                         <exception-info>
>                                 <nesting-level>1</nesting-level>
>                                 <msg-loc-info>
>                                         <loc-token />
>                                         <loc-message>no !/ in
> spec</loc-message>
> 
> <stack-trace><![CDATA[java.net.MalformedURLException: no !/ in spec
>         at java.net.URL.<init>(URL.java:601)
>         at java.net.URL.<init>(URL.java:464)
>         at java.net.URL.<init>(URL.java:413)
>         at java.net.URI.toURL(URI.java:1081)
>         at
> org.apache.servicemix.common.tools.wsdl.SchemaCollection.read(SchemaColl
> ection.java:105)
>         at
> org.apache.servicemix.common.tools.wsdl.SchemaCollection.handleImports(S
> chemaCollection.java:143)
>         at
> org.apache.servicemix.common.tools.wsdl.SchemaCollection.read(SchemaColl
> ection.java:82)
>         at
> org.apache.servicemix.common.tools.wsdl.WSDLFlattener.parseSchemas(WSDLF
> lattener.java:202)
>         at
> org.apache.servicemix.common.tools.wsdl.WSDLFlattener.initialize(WSDLFla
> ttener.java:78)
>         at
> org.apache.servicemix.common.tools.wsdl.WSDLFlattener.flattenDefinition(
> WSDLFlattener.java:128)
>         at
> org.apache.servicemix.common.tools.wsdl.WSDLFlattener.getDefinition(WSDL
> Flattener.java:92)
>         at
> org.apache.servicemix.jsr181.Jsr181Endpoint.registerService(Jsr181Endpoi
> nt.java:276)
> ...
> 
> ***)
> 
> <task-status-msg><msg-loc-info><loc-token/><loc-message>org.codehaus.xfi
> re.annotations.Annotatio
> nException: Couldn't find endpoint interface
> eu.icing.issuereport.impl._1.IssueReportServicePortType. Nested
> exception i
> s java.lang.ClassNotFoundException:
> eu.icing.issuereport.impl._1.IssueReportServicePortType</loc-message></m
> sg-loc-info>
> </task-status-msg>
> 
> ****)
> <classpath>
>   <location>.</location>
> </classpath>
> 
> This e-mail and any attachments may contain confidential or
> privileged information. Any unauthorised copying, use or distribution of
> this information is strictly prohibited.

This e-mail and any attachments may contain confidential or
privileged information. Any unauthorised copying, use or distribution of
this information is strictly prohibited.

Reply via email to