velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: SampleServlet Error.
Date Tue, 01 Oct 2002 07:30:16 GMT
On 9/30/02 10:40 PM, "Kwok Peng Tuck" <pengtuck@makmal.com> wrote:

> I've tried to get the sample servlet with velocity working, but I'm
> running into a problem.
> Does anyone know what :
> 
> javax.servlet.ServletException: Cannot allocate servlet instance for path
> /VelocityExamples/servlet/SampleServlet
> at 
> org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:4
> 19)
> at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> 
> this error is about ?
> 
> I have followed instructions to the the best of my knowledge but the sample
> app still doesn't work.
> Suggestions would be great.

Which Velocity jar are you using?  The -dep jar contains all of the
dependencies required by Velocity, whereas the non -dep jar doesn't.

geir
-- 
Geir Magnusson Jr. 
geirm@adeptra.com                                    +1-203-355-2219 (w)
Adeptra Inc.                                         +1-203-247-1713 (m)



--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message