My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes Alastair
----- Original Message ----- From: Mark Thomas <[email protected]> To: Tomcat Users List <[email protected]> Cc: Sent: Tuesday, 10 January 2012, 18:41 Subject: Re: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23 On 10/01/2012 18:38, Alastair Baldwin wrote: > Excuse my ignorance, but I had the package information in place and had the > same error > so I tried to simplify it by removing the package details from > HelloWorldServlet.java > and the webapps directory. Is a package essential for tomcat to work? Using packages is strongly recommended. Placing classes under WEB-INF/classes is required. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
