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><