velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yura Ushakhow <y...@excimer.ru>
Subject "Class not found" and logging
Date Sat, 09 Nov 2002 14:52:44 GMT
Hi. For hours I can't figure what is wrong here...

I have a VelocityServlet which is similar to the 2nd example. Trying to 
run it, Tomcat says:

javax.servlet.ServletException: Error initializing Velocity: 
java.lang.ClassNotFoundException: 
org/apache/velocity/runtime/log/AvalonLogSystem,org/apache/velocity/runtime/log/SimpleLog4JLogSystem
	at 
org.apache.velocity.servlet.VelocityServlet.initVelocity(VelocityServlet.java:236)
	at 
org.apache.velocity.servlet.VelocityServlet.init(VelocityServlet.java:198)

...and so on.

Velocity version is 1.3.1-rc2, Tomcat 4.1.12, J2SE 1.4.0_02.
web.xml has this entry:
   <init-param>
       <param-name>properties</param-name>
       <param-value>/WEB-INF/velocity.properties</param-value>
   </init-param>

and velocity.properties has this:
file.resource.loader.path = /WEB-INF/templates
runtime.log = /WEB-INF/velocity.log

Any tips..?


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