Do you have some stuff in your jre/lib/endorsed dir?   It looks like you 
have some jaxb-api things in there.     CXF would need a "clean" jdk.

Dan


On Thursday, June 07, 2012 12:02:32 PM Gina Choi wrote:
> Hi All,
> 
> I just checked out code from http://svn.apache.org/repos/asf/cxf/trunk and
> ran build. First time, build was failing with testutils module, so I
> commented it out. But it is still failing. Am I missing any steps?
> Following is summary of the build. Each time run build, I am getting this
> issue.
> 
> 
> Jun 7, 2012 11:40:14 AM
> org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding checkEncoding
> WARNING: Version hudson-jaxb-ri-2.1-2 of JAXB XJC does not support
> setting an encoding.  Using default file encoding of Cp1252.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CXF ........................................ SUCCESS
> [0.822s] [INFO] Apache CXF Parent .................................
> SUCCESS [0.646s] [INFO] Apache CXF API
> .................................... SUCCESS [19.547s] [INFO] Apache CXF
> Woodstox/MSV Schema Validation ......... SUCCESS [1.233s] [INFO] Apache
> CXF XML Schema Validation with Xerces ...... SUCCESS [0.929s] [INFO]
> Apache CXF Common ................................. SUCCESS [0.017s]
> [INFO] Apache CXF Runtime Core ........................... SUCCESS
> [5.607s] [INFO] Apache CXF Command Line Tools Common ..............
> SUCCESS [3.928s] [INFO] Apache CXF Runtime JAXB DataBinding
> ............... SUCCESS [2.602s] [INFO] Apache CXF Runtime SOAP Binding
> ................... SUCCESS [4.551s] [INFO] Apache CXF Command Line Tools
> Validator ........... SUCCESS [2.723s] [INFO] Apache CXF Command Line
> Tools WSDLTo Core ......... SUCCESS [1.504s] [INFO] Apache CXF Command
> Line Tools WSDLTo JAXWS Frontend  SUCCESS [3.392s] [INFO] Apache CXF
> Runtime JavaScript Client Generator Projects  SUCCESS [0.187s]
> [INFO] Apache CXF Runtime JavaScript Client Generator .... SUCCESS
> [2.179s] [INFO] Apache CXF Command Line Tools WSDL to JavaScript Front
> End  SUCCESS [2.264s]
> [INFO] Apache CXF Command Line Tools WSDLTo JAXB Databinding  SUCCESS
> [1.692s]
> [INFO] Apache CXF Runtime Management ..................... SUCCESS
> [9.603s] [INFO] Apache CXF Runtime JMS Transport ..................
> SUCCESS [4.154s] [INFO] Apache CXF Runtime XML Binding
> .................... SUCCESS [2.222s] [INFO] Apache CXF Runtime Local
> Transport ................ SUCCESS [0.911s] [INFO] Apache CXF Maven
> Plugins .......................... SUCCESS [0.128s] [INFO] Apache CXF
> Code Generation Maven2 Plugins ......... SUCCESS [3.674s] [INFO] Apache
> CXF Runtime WS Policy ...................... SUCCESS [13.358s] [INFO]
> Apache CXF Runtime HTTP Transport ................. SUCCESS [6.440s]
> [INFO] Apache CXF Runtime HTTP Jetty Transport ........... SUCCESS
> [4.557s] [INFO] Apache CXF Runtime Simple Frontend ................
> SUCCESS [3.302s] [INFO] Apache CXF Runtime WS Addressing
> .................. SUCCESS [3.196s] [INFO] Apache CXF Runtime JAX-WS
> Frontend ................ SUCCESS [30.343s] [INFO] Apache CXF Runtime
> XmlBeans DataBinding ........... SUCCESS [20.119s] [INFO] Apache CXF
> Command Line Tools WSDLTo Test ......... SUCCESS [10.221s] [INFO] Apache
> CXF Command Line Tools WSDLTo Misctools .... SUCCESS [1.567s] [INFO]
> Apache CXF Command Line Tools ..................... SUCCESS [0.017s]
> [INFO] Apache CXF Command Line Tools WSDLTo .............. SUCCESS
> [0.018s] [INFO] Apache CXF Runtime Aegis Databinding ..............
> SUCCESS [17.639s] [INFO] Apache CXF Command Line Tools JavaTo WS
> ........... SUCCESS [12.475s] [INFO] Apache CXF Command Line Tools JavaTo
> .............. SUCCESS [0.018s] [INFO] Apache CXF Runtime JAX-RS Frontend
> ................ SUCCESS [15.946s] [INFO] Apache CXF Command Line Tools
> WADLTo JAXRS Frontend  SUCCESS [1.322s] [INFO] Apache CXF Command Line
> Tools WADLTo .............. SUCCESS [0.018s] [INFO] Apache CXF Runtime
> CORBA Binding .................. SUCCESS [17.123s] [INFO] Apache CXF
> Command Line Tools CORBA ............... SUCCESS [19.581s] [INFO] Apache
> CXF Runtime SDO DataBinding ................ SUCCESS [7.326s] [INFO]
> Apache CXF Runtime JiBX DataBinding ............... SUCCESS [37.812s]
> [INFO] Apache CXF Runtime Object Binding ................. SUCCESS
> [1.193s] [INFO] Apache CXF Runtime Colocated Binding ..............
> SUCCESS [1.075s] [INFO] Apache CXF Runtime
> ................................ SUCCESS [0.018s] [INFO] Apache CXF
> Runtime Bindings ....................... SUCCESS [0.018s] [INFO] Apache
> CXF Runtime Clustering ..................... SUCCESS [1.014s] [INFO]
> Apache CXF Runtime JavaScript Frontend ............ SUCCESS [0.954s]
> [INFO] Apache CXF Runtime WS Reliable Messaging .......... SUCCESS
> [5.782s] [INFO] Apache CXF Runtime WS MetadataExchange ............
> SUCCESS [0.981s] [INFO] Apache CXF Runtime WS Security
> .................... SUCCESS [12.942s] [INFO] Apache CXF JAX-RS
> Extensions: Providers ........... SUCCESS [3.834s] [INFO] Apache CXF
> JAX-RS Extensions: Search .............. SUCCESS [1.030s] [INFO] Apache
> CXF RS XML Security ........................ SUCCESS [2.246s] [INFO]
> Apache CXF RS SSO SAML ............................ SUCCESS [1.938s]
> [INFO] Apache CXF Runtime RS Security OAuth Parent ....... SUCCESS
> [0.303s] [INFO] Apache CXF Runtime OAuth 1.0a .....................
> SUCCESS [1.047s] [INFO] Apache CXF Runtime OAuth 2.0
> ...................... SUCCESS [1.121s] [INFO] Apache CXF RS Cross-Origin
> Resource Sharing ....... SUCCESS [0.504s] [INFO] Apache CXF Runtime Web
> Management ................. SUCCESS [52.537s] [INFO] Apache CXF Runtime
> JavaScript Client Generator Tests  SUCCESS [0.463s]
> [INFO] Apache CXF JCA Connection ......................... SUCCESS
> [3.081s] [INFO] Apache CXF Integration ............................
> SUCCESS [0.017s] [INFO] Apache CXF Java2WS Maven2 Plugin
> .................. SUCCESS [1.048s] [INFO] Apache CXF WSDL Validator
> Maven2 Plugin ........... SUCCESS [1.008s] [INFO] Apache CXF WADL2Java
> Code Generation Maven2 Plugin  SUCCESS [1.687s] [INFO] Apache CXF CORBA
> Tools Maven2 Plugins ............. SUCCESS [0.927s] [INFO] Apache CXF
> Archetype - Simple JAX-WS Java First ... SUCCESS [1.957s] [INFO] Apache
> CXF Archetype - Simple JAX-RS webapp ....... SUCCESS [0.275s] [INFO]
> Apache CXF Maven Archetypes ....................... SUCCESS [0.213s]
> [INFO] Apache CXF STS Core ............................... SUCCESS
> [10.063s] [INFO] Apache CXF STS war deployment .....................
> SUCCESS [4.635s] [INFO] Apache CXF STS basic systests
> ..................... SUCCESS [5.184s] [INFO] Apache CXF STS advanced
> systests .................. SUCCESS [4.143s] [INFO] Apache CXF Services
> ............................... SUCCESS [0.037s] [INFO] Apache CXF STS
> service ............................ SUCCESS [0.022s] [INFO] Apache CXF
> STS systests ........................... SUCCESS [0.019s] [INFO] Apache
> CXF WSN API ................................ FAILURE [2.484s] [INFO]
> Apache CXF WSN Core ............................... SKIPPED [INFO] Apache
> CXF WSN OSGi ............................... SKIPPED [INFO] Apache CXF
> WSN service ............................ SKIPPED [INFO] Apache CXF Karaf
> Parent ........................... SKIPPED [INFO] Apache CXF Karaf
> Features ......................... SKIPPED [INFO] Apache CXF Karaf
> Commands ......................... SKIPPED [INFO] Apache CXF Bundle
> Parent .......................... SKIPPED [INFO] Apache CXF Bundle Jar
> ............................. SKIPPED [INFO] Apache CXF Minimal Bundle
> Jar ..................... SKIPPED [INFO] Apache CXF JAX-RS Bundle Jar
> ...................... SKIPPED [INFO] Apache CXF Compatibility Bundle Jar
> ............... SKIPPED [INFO] Apache CXF Container Integration System
> Tests ..... SKIPPED [INFO] Apache CXF Container Integration Test Webapp
> ...... SKIPPED [INFO] Apache CXF Uncategorized System Tests .............
> SKIPPED [INFO] Apache CXF Transport System Tests .................
> SKIPPED [INFO] Apache CXF Transport System Tests JMS .............
> SKIPPED [INFO] Apache CXF JAX-WS System Tests ....................
> SKIPPED [INFO] Apache CXF Databinding System Tests ...............
> SKIPPED [INFO] Apache CXF JAX-RS System Tests ....................
> SKIPPED [INFO] Apache CXF WS-* Specifications System Tests .......
> SKIPPED [INFO] Apache CXF WS-RM Specifications System Tests ......
> SKIPPED [INFO] Apache CXF WS-Security System Tests ...............
> SKIPPED [INFO] Apache CXF WS-Security Interop System Tests .......
> SKIPPED [INFO] Apache CXF JAX-RS System Advanced Security Tests ..
> SKIPPED [INFO] Test for writing wsdl to repo .....................
> SKIPPED [INFO] Test for generating code from wsdl in repo ........
> SKIPPED [INFO] Apache CXF System Tests ...........................
> SKIPPED [INFO] Apache CXF System Tests for Maven Plugins .........
> SKIPPED [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7:04.880s
> [INFO] Finished at: Thu Jun 07 11:40:15 EDT 2012
> [INFO] Final Memory: 96M/230M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.cxf:cxf-codegen-plugin:2.6.2-SNAPSHOT:wsdl2java (default) on
> project cxf-services-wsn-api: Thrown by JAXB:
> [ERROR] Thrown by JAXB:
> [ERROR] cvc-complex-type.3.2.2: Attribute 'xjc:recursive' is not allowed
> to appear in element 'class'.
> [ERROR] at line 44 column 28 of schema
> jar:file:/C:/gina/CXF262/tools/common/target/cxf-tools-common-2.6.2-SNAPSH
> OT.jar!/org/apache/cxf/tools/common/jaxb/W3CEPRJaxbBinding_jaxb22.xml
> [ERROR]
> [ERROR] cvc-complex-type.3.2.2: Attribute 'xjc:recursive' is not allowed
> to appear in element 'class'.
> [ERROR] at line 40 column 28 of schema
> jar:file:/C:/gina/CXF262/tools/common/target/cxf-tools-common-2.6.2-SNAPSH
> OT.jar!/org/apache/cxf/tools/common/jaxb/W3CEPRJaxbBinding_jaxb22.xml
> [ERROR]
> [ERROR] cvc-complex-type.3.2.2: Attribute 'xjc:recursive' is not allowed
> to appear in element 'class'.
> [ERROR] at line 36 column 28 of schema
> jar:file:/C:/gina/CXF262/tools/common/target/cxf-tools-common-2.6.2-SNAPSH
> OT.jar!/org/apache/cxf/tools/common/jaxb/W3CEPRJaxbBinding_jaxb22.xml
> [ERROR]
> [ERROR] cvc-complex-type.3.2.2: Attribute 'xjc:recursive' is not allowed
> to appear in element 'class'.
> [ERROR] at line 32 column 28 of schema
> jar:file:/C:/gina/CXF262/tools/common/target/cxf-tools-common-2.6.2-SNAPSH
> OT.jar!/org/apache/cxf/tools/common/jaxb/W3CEPRJaxbBinding_jaxb22.xml
> [ERROR]
> [ERROR] cvc-complex-type.3.2.2: Attribute 'xjc:recursive' is not allowed
> to appear in element 'class'.
> [ERROR] at line 28 column 28 of schema
> jar:file:/C:/gina/CXF262/tools/common/target/cxf-tools-common-2.6.2-SNAPSH
> OT.jar!/org/apache/cxf/tools/common/jaxb/W3CEPRJaxbBinding_jaxb22.xml
> 
> Gina
-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to