Summary: | dev-util/netbeans-6.5-r2 has problems with web-service client generation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | vhusainov <vhusainov> |
Component: | Current packages | Assignee: | Miroslav Šulc <fordfrog> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | java |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 250925 | ||
Bug Blocks: |
Description
vhusainov
2008-12-04 20:03:45 UTC
After removing "xnocompile" option, I'm geting another exception: java.lang.NoClassDefFoundError: org/apache/xml/resolver/CatalogManager at com.sun.xml.ws.util.xml.XmlUtil.createEntityResolver(XmlUtil.java:194) at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:552) at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56) at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:514) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:273) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:499) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151) Caused by: java.lang.ClassNotFoundException: org.apache.xml.resolver.CatalogManager at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 19 more BUILD FAILED (total time: 0 seconds) But It's in /usr/share/netbeans-6.5/ide10/modules/ext/jaxb/jaxb-xjc.jar. Should be fixed in -r3. Please let me know whether the fix works or not. The content of jaxws-tools.jar bundled by upstream and our /usr/share/jax-ws-tools-2/lib/jax-ws-tools.jar is different, so I use the bundled jar instead of the system jar in the updated ebuild now. The problem with xnocompile disappeared. But the second problem is still present. I've tried to investigate it, but couldn't find any reason. CatalogManager can't be found while building WS client. I'll try to download original version and find some difference with this one. As we do not have JAX-WS 2.1 bundled, i use in netbeans 6.7 beta the jars bundled with netbeans, so this problem should be fixed, if not, then pls reopen the bug. |