You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by sundar v <su...@yahoo.com> on 2006/01/22 14:45:57 UTC

problem with classpath

hello,
  after starting tomcat and when i try to access page 
  the error i get is 
   
    type Exception report
  description The server encountered an internal error () that prevented it from fulfilling this request.
  exception 
javax.servlet.ServletException: Servlet.init() for servlet firstservlet threw exception   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)  root cause 
java.lang.NoClassDefFoundError: org/apache/log/format/Formatter   org.apache.velocity.runtime.log.LogManager.createLogSystem(LogManager.java:162)

 

 

and the error report from tomcat is 

 

PANIC : Velocity cannot find any of the specified or default logging systems in
the classpath, or the classpath doesn't contain the necessary classes to support
 them. Please consult the documentation regarding logging. Exception : java.lang
.NoClassDefFoundError: org/apache/log/format/Formatter

 

 

what classpath should i give

thank you

V.Sundar

 



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com