It seems JBoss 4.X uses an endorses directory with an older xml-api Jar that does NOT support this method.I expected the "parent-last" class delegation model to avoid such ugly XML parser issue. The endorsed mecanism seems to take precedence on classloading hierarchy :'(
2009/4/28 nicolas de loof <[email protected]> > Hello > I'm running a CXF webapp on JBoss 4.0.2 with JDK 1.6.13. > My service get deployed, but when requesting the "?wsdl" URL I get a > " > NoSuchMethodError: org.w3c.dom.Document.setXmlStandalone > " > > Browsing the JIRA I've found CXF-1861 but this doesn't helped me a lot. > > My JBoss-web.xml is set with java2ClassLoadingCompliance="false" > & java2ParentDelegation=false, so I should not inherit from a container JAR > for this API. > > Using a grep I've found my WEB-INF/lib has xml-apis-1.4_04.jar to be the > only jar having this w3c class, and this version defines the public > abstract void setXmlStandalone(boolean flag) method > > Any suggestion ? > > Nicolas > > > > > > > >
