I just replaced the 1.3 jar with the 1.2 jar and velocity quite working
(no error produced in the log file), here is the error:

Error: 500
Location: /VelocityStrutsTest/pager_test.vm
Internal Servlet Error:

java.lang.NoSuchMethodError:
org.apache.velocity.VelocityContext.(Ljava/util/Map;Lorg/apache/velocity
/context/Context;)V
        at
org.apache.velocity.tools.view.context.ChainedContext.(ChainedContext.ja
va:161)
        at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.createContext
(VelocityViewServlet.java:303)
        at
org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet.ja
va:319)
        at
org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java:2
92)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57
4)
        at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
        at org.apache.tomcat.core.Handler.service(Handler.java:235)
        at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav
a:917)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt
p10Interceptor.java:176)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49
4)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:516)
        at java.lang.Thread.run(Thread.java:536)

Unless you all insist on checking 1.2, I'll stop right here.

-----Original Message-----
From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 3:53 PM
To: Velocity Developer's List
Subject: Re: Question with ParameterParser tool in VTL


On 7/8/02 3:49 PM, "Ed Yu" <[EMAIL PROTECTED]> wrote:

> I see, I'm using the velocity-1.3-dev.jar.

Yep, that would show it was well.  How about the 1.2?  Its fine there?

You can get the 1.2 binary from

http://jakarta.apache.org/builds/jakarta-velocity/release/v1.2/

> 
> -----Original Message-----
> From: Nathan Bubna [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 3:40 PM
> To: Velocity Developers List
> Subject: Re: Question with ParameterParser tool in VTL
> 
> 
> Ed said:
>> I got a binary release which exhibit this problem and I checked out
> the
>> souce from CVS a couple of hours ago and it still got this problem.
> 
> are you referring to the CVS of Velocity
> (http://cvs.apache.org/viewcvs/jakarta-velocity/)
> or the CVS of the Velocity-Tools subproject
> (http://cvs.apache.org/viewcvs/jakarta-velocity-tools/) ?
> 
> the bug lies with the version of Velocity that you are using, not
within
> the
> code of the tools subproject.   it would be helpful to know what
version
> of
> _Velocity_ you are using.   Geir was asking if you were using the
> Velocity
> 1.3 release or a different version.   There has been no release yet of
> the
> tools subproject.
> 
> Nathan Bubna
> [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to