The classes you give below are the servlet api classes -
javax.servlet.http.HttpRequest for example.
All you need to do to access those is to add the servlet-api.jar to your
classpath. You'll find the right copy to use in the tomcat/lib folder.
You can either add it to your classpath environment variable or simply
copy it to your lib folder.
I'd be interested if you have any specific reason for directly using the
org.apache.catalina classes - that will tie your application to a
specific release of Tomcat, and that's really not a very good idea.
Alan
HTH
On 5/12/2011 11:30 AM, ramoq wrote:
I am trying to use some of the objects in the catalina.jar in tomcat
(ie. HTTPRequest, Realm.java, ... you get the idea) however, I always
get a NoClassFoundException error. Code complies correctly,the gwt app
(war file) is deployed with no errors.
I get this when trying to use any of the org/apache/catalina/*
classes. Otherwise everything else is OK.
I know this is a classpath issue, but the catalina.jar is in the
tomcat/lib and the WEB-INF/lib just has some regular stuff (ie. gwt-
servlet.jar, gwt-maps.jar, gwt-debug-panel.jar, gwt-incubator..)
any help would be greatly appeciated.
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.