Hi all,

I've just downloading and installed JBoss 3.2.5 with Tomcat embedded. The problem I'm 
having, is this :

I've deployed my war file (exploded) to the /server/default/deploy folder and I see in 
JBoss's startup that Tomcat has seen and deployed it, but then when I try to access my 
Servlets, I get the following error:

type Exception report
  | 
  | message 
  | 
  | description The server encountered an internal error () that prevented it from 
fulfilling this request.
  | 
  | exception 
  | 
  | javax.servlet.ServletException: Error instantiating servlet class 
chpt3.RegisterServlet
  |     at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:986)
  |     
  | 
  | root cause 
  | 
  | java.lang.Error: Unresolved compilation problems: 
  |     The import javax.servlet cannot be resolved
  |     The import javax.servlet cannot be resolved
  |     The import javax.servlet cannot be resolved
  |     The import javax.servlet cannot be resolved
  |     HttpServlet cannot be resolved or is not a valid superclass
  |     HttpServletRequest cannot be resolved (or is not a valid type) for the 
parameter request of the method doGet
  |     HttpServletResponse cannot be resolved (or is not a valid type) for the 
parameter response of the method doGet
  |     ServletException cannot be resolved (or is not an exception type) for the 
method doGet
  |     HttpServletRequest cannot be resolved (or is not a valid type) for the 
parameter request of the method doPost
  |     HttpServletResponse cannot be resolved (or is not a valid type) for the 
parameter response of the method doPost
  |     ServletException cannot be resolved (or is not an exception type) for the 
method doPost
  | 
  |     at chpt3.RegisterServlet.<init>(RegisterServlet.java:11)
  |     
I've taken most of the stack trace out. 

Could someone please tell me why the imports can't be found?

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841995#3841995

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841995


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to