geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kamalanathan Raman" <Kamalanathan_Ra...@infosys.com>
Subject java.lang.NoClassDefFoundError - Reg
Date Fri, 05 Jan 2007 05:23:21 GMT

Hi ,



Iam getting two errors like java.lang.NoClassDefFoundError:
net/sf/hibernate/cfg/Configuration and java.lang.NoClassDefFoundError:
com/sshtools/j2ssh/transport/HostKeyVerification . Even when I add the
jars as dependency in my Geronimo-web.xml , iam not able to resolve this
issue. Can any one help me out in  solving this issue. Iam attaching the
error trace.





10:48:51,377 ERROR [[/wlbx]] StandardWrapper.Throwable

java.lang.NoClassDefFoundError: net/sf/hibernate/cfg/Configuration

      at
com.symcor.wlbx.util.ServiceLocator.getDataSource(ServiceLocator.java:19
5)

      at
com.symcor.wlbx.web.servlet.ReportServlet.initializeResourceLookups(Repo
rtServlet.java:912)

      at
com.symcor.wlbx.web.servlet.ReportServlet.init(ReportServlet.java:668)

      at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105)

      at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

      at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3915)

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176
)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoSt
andardContext.java:67)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStandardContext.java:337)

      at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geronim
oBeforeAfterValve.java:31)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandar
dContext.java:192)

      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)

      at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

      at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

      at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.ja
va:313)



java.lang.NoClassDefFoundError:
com/sshtools/j2ssh/transport/HostKeyVerification

      at
com.symcor.wlbx.web.servlet.ImportServlet.init(ImportServlet.java:123)

      at javax.servlet.GenericServlet.init(GenericServlet.java:168)

      at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1105)

      at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)

      at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3915)

      at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4176
)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoSt
andardContext.java:67)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.inv
oke(GeronimoStandardContext.java:337)

      at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geronim
oBeforeAfterValve.java:31)

      at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandar
dContext.java:192)

      at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)

      at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

      at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

      at
org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.ja
va:313)

      at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.i
nvoke(<generated>)



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of
the addressee(s). If you are not the intended recipient, please notify the sender by e-mail
and delete the original message. Further, you are not to copy, disclose, or distribute this
e-mail or its contents to any other person and any such actions are unlawful. This e-mail
may contain viruses. Infosys has taken every reasonable precaution to minimize this risk,
but is not liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or attachment. Infosys
reserves the right to monitor and review the content of all messages sent to or from this
e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys
e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
Mime
View raw message