Hi,
We are using Eclipse IDE with JBoss. We tried to develop a sample servlet using lamboz servlet wizard.Everything went fine but we couldn't deploy the webmodule into the server. Its giving the following error.
The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".; - nested throwable: (org.xml.sax.SAXParseException: The content of element type "servlet" must match "(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file),init-param*,load-on-startup?,run-as?,security-role-ref*)".)
at org.jboss.jetty.Jetty.deploy(Jetty.java:353
Infact the web.xml is generated by the IDE itself.How can we overcome this problem.
Thank you very much.
Post your web.xml on here. If the problem with it can be identified it might get you a step closer to getting it to work.