You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by su...@jkcsworld.com on 2004/01/14 05:11:11 UTC
hello.vm giving error..
Error in my first VelocityView application?
####hello.vm
#set( $greet = 'Hello World')
$greet
####exception
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at .......................................................
..................................................................................
root cause t cause
java.lang.IncompatibleClassChangeError
at
org.apache.velocity.runtime.parser.JJTParserState.openNodeScope(JJTParserState.java:82)
at
org.apache.velocity.runtime.parser.Parser.SetDirective(Parser.java:1503)
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: hello.vm giving error..
Posted by su...@jkcsworld.com.
sudheeral@jkcsworld.com wrote:
>
>
>Error in my first VelocityView application?
>
>####hello.vm
>
>#set( $greet = 'Hello World')
>$greet
>
>
>####exception
>javax.servlet.ServletException: Servlet execution threw an exception
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>
> at .......................................................
>
>..................................................................................
>root cause t cause
>java.lang.IncompatibleClassChangeError
> at
>org.apache.velocity.runtime.parser.JJTParserState.openNodeScope(JJTParserState.java:82)
>
> at
>org.apache.velocity.runtime.parser.Parser.SetDirective(Parser.java:1503)
>
>
>---------------------------------------------------------------------
>
>
>
Maybe you're running an old JavaVM. Try Java SDK 1.3 or 1.4 ...
>---------------------------------------------------------------------
I am using SDK1.4.
Problem occurs when I am using Jonas3.3(with tomcat) application server.
I just tried with tomcat4.1.24 and working fine.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: hello.vm giving error..
Posted by Peter Lammich <la...@ls5.cs.uni-dortmund.de>.
sudheeral@jkcsworld.com wrote:
>
>
>Error in my first VelocityView application?
>
>####hello.vm
>
>#set( $greet = 'Hello World')
>$greet
>
>
>####exception
>javax.servlet.ServletException: Servlet execution threw an exception
> at
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>
> at .......................................................
>
>..................................................................................
>root cause t cause
>java.lang.IncompatibleClassChangeError
> at
>org.apache.velocity.runtime.parser.JJTParserState.openNodeScope(JJTParserState.java:82)
>
> at
>org.apache.velocity.runtime.parser.Parser.SetDirective(Parser.java:1503)
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
>
Maybe you're running an old JavaVM. Try Java SDK 1.3 or 1.4 ...
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org