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.
Using Netbeans 8 to generate a web service client for Java 6 with JAX-WS 2.2 To successfully compile, JAX-WS API needs to be endorsed and compiling this project has worked with Netbeans 7.3 With NetBeans 8, when manually adding JAX-WS API to project.properties in endorsed.classpath, compiling is successful. When opening this project with Netbeans 8, content of the property endorsed.classpath is discarded; this means the property needs to set manually after opening the project.
web services related? please evaluate
a workaround is setting endorsed.classpath as property in build.xml of the project: <target name="-pre-init"> <echo>Workaround for Netbeans Bug https://netbeans.org/bugzilla/show_bug.cgi?id=243205</echo> <property name="endorsed.classpath" value="${base}/../../common-libs/jaxws-2.2.7-ri/lib/jaxb-api.jar:${base}/../../common-libs/jaxws-2.2.7-ri/lib/jaxws-api.jar" /> </target> where jaxws-ri is placed in a directory in the project structure.
Fixed: http://hg.netbeans.org/web-main/rev/6144d0a7a4d0
Integrated into 'main-silver', will be available in build *201405200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6144d0a7a4d0 User: Milan Kuchtiak <mkuchtiak@netbeans.org> Log: #243205 don't remove JAX-WS endorsed when JAX-WS 2.2 is not in BOOT classpath