I am using NetBeans IDE 7.2.1 version with APACHE tomcat 7.0.27.0 version server. I am trying to make a servlet file in my project but its showing the following message or error-

"Web application version is unsupported . Upgrade web.xml to version 2.4 or newer or use previous version of NetBeans."

How can i fix it please reply-

有帮助吗?

解决方案

I had this Problem and I solved it in a rather curious way. I removed the web.xml file, Created the servlet and replaced the web.xml file and it worked.

I would recommend you get Better Solution from the http://forums.netbeans.org/

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top