Could you provide snapshots of this problems ? If there are some errors in that 
JSP?
Or , you can copy the project to github, and share with us? let me have a look.


Albert




------------------ ???????? ------------------
??????: "Gareth Lewis"<[email protected]&gt;; 
????????: 2020??11??1??(??????) ????6:06
??????: "users"<[email protected]&gt;; 
????: Build problems with Netbeans 12 and Java Web Application



I've been using Netbeans 12 x64 (Windows) to create a basic Java Web 
Application.

I'm currently using JDK 14.0.2 x64 but have tested using JDK 11.0.9  x64   and 
JDK 9+181  x64.
I'm deploying to Apache Tomcat 9.0.38 x64.
I've also tested Netbeans 11 and Netbeans 12.1.

If I try to clean and build the project in the IDE the build fails with:

error: option -Xbootclasspath/p: not allowed with target 14

Run usually succeeds, as well as Debug. However, periodically (sometimes daily) 
Run and Debug fail as well, and all files cause an exception as soon as they 
encounter a class:
&nbsp;
org.apache.jasper.JasperException: An exception occurred processing 
[/FormInput.jsp] at line [7]

The only way to (temporarily) remedy this seems to be to delete the NetBeans 
AppData folder (C:\Users\zee\AppData\Roaming\NetBeans\12.0), reopen and 
reconfigure Netbeans, including downloading plugins again. After doing this all 
works as it should for a while, although I still get the error regarding JDK 14

My questions would be:

Is there an updated build-impl.xml file I can use that does not reference 
-Xbootclasspath/p?
If not, what version of the JDK should I be using?
How can I get Netbeans to compile and deploy the application without having to 
reset it?


Any help would be appreciated.



Many thanks,

Gareth

Reply via email to