All demos with the method "QueryUtil.getQuery" call a exception. For exemple, in demo4 i have the exception:
java.lang.RuntimeException: Uncompilable source code
This occur only in NetBeans. In Eclipse, in same computer, with same JDK works verywell.
Whats the problem with NetBeans?
The same error occurred in another computer.
- NetBeans 6.5
- Java 6.0.10
I tested in Eclipe and works. Where the problem in Netbeans?
Please provide me more info: which libraries EXACTLY have you added to the project related to demo4?
Which version of OpenSwing are you using?
Have you added srcserveros.jar or srcclientos.jar to project library settings???
Im using these libraries:
- all libraries of build folder the openswing;
- servlet-api.jar (from tomcat/lib folder);
the same libraries in Eclipes works.
Im using OpenSwing 2.0, but i tested in 1.8 and 1.9 and occur the same problem.
The message complete in a dialog in Netbeans is:
Error loading data:
Uncompilable source code - imcompatible types
if you install the netbeans and try execute the demo4 will get the error.
I have seen this problem before when servlet-api.jar is not included, try to clean and build the source (shift-F11). That gives a better error message about missing jars.
Conclusion: this occur when the JAR servlet-api.jar is missing in project!
Thanks a lot.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.