- Posted by: Hanxue Lee
- Posted on: April 01 2002 09:46 EST
When I use classes from the com.oreilly.servlet package, I get this error:
javax.servlet.ServletException: Cannot allocate servlet instance for path /test/servlet/UploadTest
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.
- Cannot use classes from the com.oreilly.servlet package by Matthew Machczynski on April 01 2002 11:23 EST
Yup. Just make sure you have the jar file that contains com/oreilly/servlet/MultipartRequest in your classpath and you should be fine.