Hi,
I have created a web application project using Netbeans 12.0 on Windows 10 (JDK 
14.0). I have configured the IDE with Glassfish server 5.0.1. The generated 
web.xml file by Netbeans automatically sets the <web-app version="4.0" ......>, 
which causes the web application to fail when it tries to discover the back-end 
managed bean referenced by the JSF page. As a workaround, I have been manually 
setting the version back to 3.1 (i.e. <web-app version="3.1".....> ) inside the 
IDE generated web.xml. According to the Glassfish server 5.0.1 release notes, 
the web container supports servlet 4.0 specification, so do I need to configure 
anything elseĀ  in the IDE to make the application work without modifying the 
web.xml?
Thanks

Reply via email to