The following topics have to do with erroneous behavior in Java CAPS.
Node Names Change when Relaunching XSD OTDs
If the names of existing XSD OTD nodes change when relaunching the OTD, you need to change the algorithm used for the Relaunch feature. This is particularly true if your XSD contains choice, sequence, any, or all node types. To enable the alternate algorithm, you must modify the following file:
<Sun_JavaCAPS_install_dir>\netbeans\etc\netbeans.conf |
Simply locate the parameter
-J-DXsdOtdRelaunch.enabled |
and set it to -true (it is near the end of the file, and is -false by default). Using this functionality, you can delete, insert, or move an OTD node anywhere in the OTD structure, as long as you do not break the parent-child relationship of existing OTD nodes.
The Build Process Fails on JDK 5
A web application project that includes web service libraries built with JDK 6 fails to build when NetBeans is started with the latest JDK 1.5.0 release. The following (incorrect) error message is given:
/root/ProjectHome/nbproject/jaxws-build.xml:24: Requires JDK 5.0 or later. Please download it from http://java.sun.com/j2se/1.5/ BUILD FAILED |
To recompile a web services project that includes libraries build with JDK 6, remove the libraries that were compiled with JDK 6 and replace them with libraries compiled with JDK 5. You should then be able to recompile the libraries using JDK 5.
If you do not have the necessary libraries compiled with JDK 5, you can start NetBeans with JDK 6 and then recompile the project using JDK 5.