Old problem ... check out 
http://jira.codehaus.org/browse/XFIRE-287

or just change the maven.dependency.classpath  to
maven.compile.classpath

--danny

-----Original Message-----
From: Dan Diephouse [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 10:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [xfire-user] Re: Problem executing wsgen with maven 2

Re the warnings: maven checks multiple sites for the missing POMs. Since

the project did not distribute POMS (descriptors which describe the 
jar), it looks for them elsewhere, but finds none. This should not be an

issue, it is just a warning and maven will continue on regardless.

However, it does sound like one of the jars on your classpath 
(jaxb-impl) doesn't seem to contain the right stuff. I can't for the 
life of me figure out why this might be though. The maven 2.0.3 version 
should be out sometime today with just tons of bug fixes. I'm going to 
try the example with that and report back to you.

- Dan

Alvaro Orus wrote:
> Hi have tried with maven.complie.classpath instead of 
> maven.dependency.classpath an it doesn' work yet, but i have realized 
> that there must be a problem with maven repositories structure in 
> jaxb-xjc path. It is located in 
> http://www.ibiblio.org/maven2/xfire/jaxb-xjc/ea3/ and maven looks for

> http://mirrors.dotsrc.org/maven2/xfire/jaxb-impl/2.0-ea3/. May be a 
> problem with metadata definition? Is there any way to fix it?
>
> On 3/13/06, *Alvaro Orus* <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi all!
>
>     I trying to generate client stubs from wsdl with xfire wsgen. I'm
>     not able to generate them with the geoip-client example, and i
>     don't know what is happening when i get the following error:
>
>     log4j:WARN No appenders could be found for logger
>     (org.codehaus.xfire.transport.DefaultTransportManager).
>     log4j:WARN Please initialize the log4j system properly.
>     [INFO]
>
------------------------------------------------------------------------
----
>     [ERROR] BUILD ERROR
>     [INFO]
>
------------------------------------------------------------------------
----
>     [INFO] Error executing ant tasks
>
>     Embedded error: java.lang.NoSuchMethodError:
>
com.sun.xml.bind.unmarshaller.DOMScanner.setLocator(Lorg/xml/sax/Locator
;)V
>     [INFO]
>
------------------------------------------------------------------------
----
>     [INFO] For more information, run Maven with the -e switch
>     [INFO]
>
------------------------------------------------------------------------
----
>     [INFO] Total time: 9 seconds
>     [INFO] Finished at: Mon Mar 13 17:24:40 CET 2006
>     [INFO] Final Memory: 4M/8M
>     [INFO]
--------------------------------------------------------------
>
>     and i also have noted that is possible that there were any problem
>     with maven repositories download, because there are some jars that
>     I can't download getting the error below:
>
>     Downloading:
>
http://mirrors.dotsrc.org/maven2/xfire/jaxb-api/2.0-ea3/jaxb-api-2.0-ea3
.pom
>
<http://mirrors.dotsrc.org/maven2/xfire/jaxb-api/2.0-ea3/jaxb-api-2.0-ea
3.pom>
>     [WARNING] Unable to get resource from repository Mirror1
>     (http://mirrors.dotsrc.org/maven2)
>     Downloading:
>
http://repo1.maven.org/maven2/xfire/jaxb-api/2.0-ea3/jaxb-api-2.0-ea3.po
m
>
<http://repo1.maven.org/maven2/xfire/jaxb-api/2.0-ea3/jaxb-api-2.0-ea3.p
om>
>     [WARNING] Unable to get resource from repository central
>     (http://repo1.maven.org/maven2)
>     Downloading:
>
http://mirrors.dotsrc.org/maven2/xfire/jaxb-impl/2.0-ea3/jaxb-impl-2.0-e
a3.pom
>
<http://mirrors.dotsrc.org/maven2/xfire/jaxb-impl/2.0-ea3/jaxb-impl-2.0-
ea3.pom>
>     [WARNING] Unable to get resource from repository Mirror1
>     (http://mirrors.dotsrc.org/maven2)
>     Downloading:
>
http://repo1.maven.org/maven2/xfire/jaxb-impl/2.0-ea3/jaxb-impl-2.0-ea3.
pom
>
<http://repo1.maven.org/maven2/xfire/jaxb-impl/2.0-ea3/jaxb-impl-2.0-ea3
.pom>
>     [WARNING] Unable to get resource from repository central
>     (http://repo1.maven.org/maven2)
>     Downloading:
>
http://mirrors.dotsrc.org/maven2/xfire/jaxb-xjc/2.0-ea3/jaxb-xjc-2.0-ea3
.pom
>
<http://mirrors.dotsrc.org/maven2/xfire/jaxb-xjc/2.0-ea3/jaxb-xjc-2.0-ea
3.pom>
>     [WARNING] Unable to get resource from repository Mirror1
>     (http://mirrors.dotsrc.org/maven2)
>     Downloading:
>
http://repo1.maven.org/maven2/xfire/jaxb-xjc/2.0-ea3/jaxb-xjc-2.0-ea3.po
m
>
<http://repo1.maven.org/maven2/xfire/jaxb-xjc/2.0-ea3/jaxb-xjc-2.0-ea3.p
om>
>     [WARNING] Unable to get resource from repository central
>     (http://repo1.maven.org/maven2)
>
>     Is there anybody in the same situation?
>     Do you know if there is any problem with geoip-client example and
>     stubs generation?
>
>     Thanks
>
>


-- 
Dan Diephouse
Envoi Solutions
http://envoisolutions.com
http://netzooid.com/blog

Reply via email to