My HelloWorldServlet.class is in CATALINA_HOME/webapps/WEB-INF/Classes

Alastair


----- Original Message -----
From: Mark Thomas <ma...@apache.org>
To: Tomcat Users List <users@tomcat.apache.org>
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: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to