Hi,
Dear CXF team:

  I downloaded the cxf-2.0-incubator-RC-src, and typed "mvn", I received
error message.

org.apache.cxf.tools.common.ToolException:
line 71 column 56 of file:/C:/cxf-2.0-incubator-RC-src
/tools/validator/target/te
st-classes/validator_wsdl/hello_world_error_attribute.wsdl:
http://www.w3.org/TR
/xml-schema-1#cvc-complex-type.3.2.2?wsdl:part&test
at org.apache.cxf.tools.validator.internal.SchemaValidator.validate
(Sche
maValidator.java:216)
at org.apache.cxf.tools.validator.internal.SchemaValidator.validate
(Sche
maValidator.java:123)
       at org.apache.cxf.tools.validator.internal.SchemaValidator.isValid
(Schem
aValidator.java:107)
       at org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid
(WSDL1
1Validator.java:79) ...

  I am not sure if I did anythinig wrong as I am new to mvn.

What's the platform? What's the JDK version?
I guess you missed some dependent jars. try mvn install several times.


  Also, I went into the distribution folder, type "mvn", trying to get
those jars such as "geronimo-annotation_1.0_spec-1.0.jar", but it seems the
site http://repo1.maven.org/maven2/org/apache/cxf does not exist.
geronimo is supposed in geronimo dir, not in org/apache/cxf, (http://people.apache.org/maven-snapshot-repository/org/apache/geronimo/specs/) You can add http://people.apache.org/maven-snapshot-repository in your ~/.m2/settings.xml to download all the dependencies.

James.

  Am I missing anyting?

Thanks in advance!

Sincerely
Feng


Reply via email to