Hi David, I forgot to mention that I was using JDK7 to run the test, and I didn’t endorse the Xerces lib.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 3, 2014 at 11:36:42 AM, David Parker ([email protected]) wrote: > > Hi Willem, > > appreciate you looking at this. > > It is true - after I cleared away support XML jars, the projects > compiled & > I can run them properly. > > The root cause of the issue appears to be JDK 1.6 conflicting with > xerces > libs, perhaps jaxb impl/api as well. > > In future, I must keep an eye on which projects require supplemental > XML > libraries; and, it will be interesting to see if this XML libs > continue to > conflict in JDK 7+. > > Thank you for guidance. > > /Dev > > > > On Sun, Mar 2, 2014 at 2:26 AM, Willem Jiang > wrote: > > > I just tried to build the camel-example-cxf of camel-2.12.3, > I didn’t get > > the error that you meet. > > Can you remove the cxf jars from your maven repo to let the maven > download > > a new version for you? > > > > -- > > Willem Jiang > > > > Red Hat, Inc. > > Web: http://www.redhat.com > > Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) > > (English) > > http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) > > Twitter: willemjiang > > Weibo: 姜宁willem > > > > > > > > On March 1, 2014 at 4:40:03 PM, David Parker ([email protected]) > wrote: > > > > > > PS - using camel example rel 2.12.1 & rel 2.12.3 > > > > > > > > > On Sat, Mar 1, 2014 at 12:17 AM, David Parker > > > wrote: > > > > > > > Camel experts, > > > > > > > > please point me in a helpful direction to resolve an issue > in > > > ALL CXF > > > > examples - there is a common wsdl2java failure at generate-sources > > > maven > > > > phase; e.g., > > > > > > > > [ERROR] Failed to execute goal > > > > org.apache.cxf:cxf-codegen-plugin:2.7.10:wsdl2java > > > (generate-sources) on > > > > project camel-example-cxf: Execution generate-sources > > > of goal > > > > org.apache.cxf:cxf-codegen-plugin:2.7.10:wsdl2java > > > failed: A required class > > > > was missing while executing > > > > org.apache.cxf:cxf-codegen-plugin:2.7.10:wsdl2java: > > > org/apache/cxf/Bus > > > > [ERROR] ----------------------------------------------------- > > > > [ERROR] realm = plugin>org.apache.cxf:cxf-codegen-plugin:2.7.10 > > > > > > > > Tactics tried already: > > > > > > > > - versions of Xerces-J-bin (2.11, 2.8) > > > > - add cxf-codegen-plugin:2.7.10 bundle > > > > - add cxf-bundle-jaxrs-2.7.10 dependency (access to org.apache.cxf.Bus) > > > > > > > > - invoke compile goal from STS 3.4.0 & cmd line Apache Maven > 3.1.1 > > > > - Alternative jars added to "endorsed" java dir as well as > project > > > > libs. > > > > > > > > Helpful pointers appreciated! > > > > > > > > Regards, > > > > > > > > /Dev > > > > > > > > > > > >
