This is my first time to touch JBoss, and I fall in trouble with it.
I write a struts 1.1 project demo (name :test.war).
in the web.xml file.I found:
If I type :
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
On JBoss start and deploying..It may cause a Exception:
21:08:03,984 ERROR [MainDeployer] could not start deployment: file:/E:/JBoss3Jet
ty4/server/default/deploy/test.war/
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
....................
If I change <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
into another Servlet such as :HelloWorld,
The JBoss will deploy success..
Why?
ps:this project I can use it in Tomcat...