Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 63100 invoked from network); 5 Jan 2007 06:07:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 06:07:53 -0000 Received: (qmail 91465 invoked by uid 500); 5 Jan 2007 06:07:54 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 91431 invoked by uid 500); 5 Jan 2007 06:07:54 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 91420 invoked by uid 99); 5 Jan 2007 06:07:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 22:07:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Jan 2007 22:07:44 -0800 Received: (qmail 61594 invoked from network); 5 Jan 2007 06:07:22 -0000 Received: from 222.165.171.185 (HELO ?192.168.1.101?) (222.165.171.185) by relay00.pair.com with SMTP; 5 Jan 2007 06:07:22 -0000 X-pair-Authenticated: 222.165.171.185 Message-ID: <459DEB17.1090502@opensource.lk> Date: Fri, 05 Jan 2007 11:37:19 +0530 From: Lasantha Ranaweera User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: java.lang.NoClassDefFoundError - Reg References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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() > > **************** 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*** >