Hi,
Have you added JAR files in to your archive? Please describe bit more of
your application, then we might able to help you to exact point. :-)
Thanks,
Lasantha Ranaweera
Kamalanathan Raman wrote:
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:195_)
at
com.symcor.wlbx.web.servlet.ReportServlet.initializeResourceLookups(_ReportServlet.java:912_)
at
com.symcor.wlbx.web.servlet.ReportServlet.init(_ReportServlet.java:668_)
at
org.apache.catalina.core.StandardWrapper.loadServlet(_StandardWrapper.java:1105_)
at
org.apache.catalina.core.StandardWrapper.load(_StandardWrapper.java:932_)
at
org.apache.catalina.core.StandardContext.loadOnStartup(_StandardContext.java:3915_)
at
org.apache.catalina.core.StandardContext.start(_StandardContext.java:4176_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(_GeronimoStandardContext.java:67_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(_GeronimoStandardContext.java:337_)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(_GeronimoBeforeAfterValve.java:31_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(_GeronimoStandardContext.java:192_)
at
org.apache.catalina.core.ContainerBase.addChildInternal(_ContainerBase.java: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.java: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.java:1105_)
at
org.apache.catalina.core.StandardWrapper.load(_StandardWrapper.java:932_)
at
org.apache.catalina.core.StandardContext.loadOnStartup(_StandardContext.java:3915_)
at
org.apache.catalina.core.StandardContext.start(_StandardContext.java:4176_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(_GeronimoStandardContext.java:67_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(_GeronimoStandardContext.java:337_)
at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(_GeronimoBeforeAfterValve.java:31_)
at
org.apache.geronimo.tomcat.GeronimoStandardContext.start(_GeronimoStandardContext.java:192_)
at
org.apache.catalina.core.ContainerBase.addChildInternal(_ContainerBase.java: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.java:313_)
at
org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<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***