This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Netbeans gives me this error when I try to refresh my client: init: deps-module-jar: init: deps-jar: compile: jar: deps-ear-jar: deps-jar: wsimport-init: wsimport-client-check-MITCommunicationInterfaceService: wsimport-client-MITCommunicationInterfaceService: error: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at com.sun.org.apache.xml.internal.resolver.readers.SAXCatalogReader.readCatalog(SAXCatalogReader.java:238) at com.sun.org.apache.xml.internal.resolver.Catalog.parseCatalog(Catalog.java:680) at com.sun.xml.ws.util.xml.XmlUtil.createEntityResolver(XmlUtil.java:194) at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:529) at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56) at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:419) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131) Command invoked: wsimport "C:\Program Files\Java\jdk1.6.0\jre\bin\java.exe" -d "C:\Documents and Settings\Joseph\My Documents\IRRIIS\Development\Publisher\build\generated\wsimport\binaries" -extension -keep -s "C:\Documents and Settings\Joseph\My Documents\IRRIIS\Development\Publisher\build\generated\wsimport\client" -catalog "C:\Documents and Settings\Joseph\My Documents\IRRIIS\Development\Publisher\catalog.xml" "C:\Documents and Settings\Joseph\My Documents\IRRIIS\Development\Publisher/src/conf/xml-resources/web-service-references/MITCommunicationInterfaceService/wsdl/localhost_8080/Subscriber/MITCommunicationInterfaceService.wsdl" -p irriis.ws.publisher.wservice -wsdllocation http://localhost:8080/Subscriber/MITCommunicationInterfaceService?wsdl C:\Documents and Settings\Joseph\My Documents\IRRIIS\Development\Publisher\nbproject\build-impl.xml:299: wsimport failed BUILD FAILED (total time: 0 seconds) Any help please? Thanks Joseph
BTW, restarting Sun Application Server and Netbeans fixes the problem temporarily. When you try to refresh it the first time it works, then it fails again. J
This is a wsimport problem, please report this to JAX-WS team. (https://jax-ws.dev.java.net). This looks like some parser configuration problem at the reporter's machine. Please, try, if it's still reproducible with JAX-WS 2.1 (used in Netbeans 6.5)