You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "White, Tim" <Ti...@qwest.com> on 2004/04/02 22:50:39 UTC

ClassCastException

2004-04-02 06:46:04,282 ERROR:#parse() : arg =
global/includes/smallbusiness/globalScript.html.  Exception :
java.lang.ClassCastException
CLASS:org.apache.velocity.runtime.log.SimpleLog4JLogSystem 

Any idea why a #parse or #include of a file with no velocity, only
javascript in it would cause this error?

Tim

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


Re: ClassCastException

Posted by Geir Magnusson Jr <ge...@4quarters.com>.
On Apr 2, 2004, at 3:50 PM, White, Tim wrote:

> 2004-04-02 06:46:04,282 ERROR:#parse() : arg =
> global/includes/smallbusiness/globalScript.html.  Exception :
> java.lang.ClassCastException
> CLASS:org.apache.velocity.runtime.log.SimpleLog4JLogSystem
>
> Any idea why a #parse or #include of a file with no velocity, only
> javascript in it would cause this error?

Ew.  If not a configuration issue, I'd guess classpath?

what version of velocity, and what version of log4j is in the classpath?

>
> Tim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


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