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.
I have 2 JDKs installed (1.5 and 1.6). The default one is JDK 1.6 (In the path and in JAVA_HOME). The project is setup to use JDK 1.5, source level 1.5. All my classes are compile with JDK 1.5 except the classes generated by wsgen (probably the wsgen ant task do not take my project settings into consideration). This ends up in incompatible classes when the server is running JDK 1.5.
Which IDE build do you use? Which project type? Are you creating web service or web service client? Can you run ant in verbose mode (Tools -> Options -> Misc. -> Ant -> Verbosity Level) and attach the output of whole build action to this issue? Also which build of JDK 6 do you use? Classes generated by wscompile,wsgen and wsimport are not being compiled by these tasks, they are compiled by standard javac task (with appropriate source and target attributes). See also: https://glassfish.dev.java.net/issues/show_bug.cgi?id=1162
works fine work me in RC2 in all project types. Feel free to reopen with exact steps to reproduce.