velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kwok Peng Tuck <pengt...@makmal.com>
Subject Re: SampleServlet Error.
Date Tue, 01 Oct 2002 09:49:04 GMT
I was of the understanding that the dep jar was for compatibility 
purposes & shouldn't be used.
I tried the dep jar and it worked. So which should I use for development  ?


p.s. Thanks for the dep tip :) .

Geir Magnusson Jr. wrote:

>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
>  
>



--
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