Hi,

I'd say CXF 2.1.3 is quite an old version, so definitely should try with some latest released CXF, for example CXF 2.4.2 to see if it helps.

Freeman
On 2011-9-24, at 上午12:41, Paul Donaldson wrote:

Hi,



When running wsdl2java (cxf version 2.1.3) I am getting the following error:



WSDLToJava Error: Thrown by JAXB : "file:/C:/Development/ MySchema.xsd" is
not a part of this compilation. Is this a mistake for
"file:/C:/Development/./MySchema.xsd"?



I was running the command successfully a while ago, but I obviously had something different in my environment before. One thing that has changed is that I am now using Java version 1.6.0_27, and I think I may have been using
version 1.5 before.



Thanks for any help,

Paul


---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to