Hi there,
When I use classes from the com.oreilly.servlet package, I get this error:
exception
javax.servlet.ServletException: Cannot allocate servlet instance for path /test/servlet/UploadTest
root cause
java.lang.NoClassDefFoundError: com/oreilly/servlet/MultipartRequest
at java.lang.Class.newInstance0(Native Method)
What is the problem and how can I solve it? Is it because of Tomcat's classpath?
Thank you in advance.
Discussions
Web tier: servlets, JSP, Web frameworks: Cannot use classes from the com.oreilly.servlet package
-
Cannot use classes from the com.oreilly.servlet package (1 messages)
- Posted by: Hanxue Lee
- Posted on: April 01 2002 09:46 EST
Threaded Messages (1)
- Cannot use classes from the com.oreilly.servlet package by Matthew Machczynski on April 01 2002 11:23 EST
-
Cannot use classes from the com.oreilly.servlet package[ Go to top ]
- Posted by: Matthew Machczynski
- Posted on: April 01 2002 11:23 EST
- in response to Hanxue Lee
Yup. Just make sure you have the jar file that contains com/oreilly/servlet/MultipartRequest in your classpath and you should be fine.
m.