Error: java.lang.NoClassDefFoundError when Automatic Import Service loads

Hi
The netware server running NW 6.5sp4a has been reloaded due to hardware
failure.
All the data was restored to all volumes.
When I run zfdstart I get the following error:
error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
Help !!!
Thanks
Minesh

[email protected] wrote:
> error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
hmm... would say that the zeninstall wasn't correctly done... try
reinstalling importing..
Marcus Breiden
If you are asked to email me information please change -- to - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.edu-magic.net

Similar Messages

  • When get into ESR ,,error - java.lang.NoClassDefFoundError

    Hi expert!!
    I got the error ( java.lang.NoClassDefFoundError) when getting into ESR..
    for the detail , occured after clicking logon buttom.
    the error  occured when getting into ESR only. no problem with  ID, RWB, SR, SLD, NWA.
    i used JDK 1.6 with my laptop, but once got the above error,
    i tried to change JDK 1.6.0_24  to 1.5.0_22, but same happened.
    restore achives and generate new signature  didn't help this error.
    all of host on exchange proflie used FQDN.
      the following is for components info regarding PI 7.1
    =========================================================================================
      sap.com SAP-XIAFC    1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_BUILDT  1000.7.11.0.0.20081028231700 SAP AG
      sap.com SAP_XIAF      1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIESR    1000.7.11.0.0.20081209013800 SAP AG
      sap.com SAP_XIGUI     1000.7.11.0.0.20081028231200 SAP AG
      sap.com SAP_XITOOL 1000.7.11.0.0.20081209013800 SAP AG
    thanks
    bangbang

    Hi,
    Please clarify:
         Are you getting this error in a freshly installed system or in the system which was working fine earlier?
         Have you done any patching or upgaradationd recently?
    Please refer to the sap notes below which may help to resolve your issue:
    #1515991
    #1452561
    Regards,
    Naveen.

  • Error "java.lang.NoClassDefFoundError: sun/security/provider/Sun" in 10.1.2

    Hi,
    I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine.
    I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix page with data I get the following error:
    500 Internal Server Error
    java.lang.NoClassDefFoundError: sun/security/provider/Sun     at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:280)     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)     at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)     at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java(Compiled Code))     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java(Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:58)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:47)     at oracle.adf.model.binding.DCBindingContainerDef.createIterBindings(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java(Compiled Code))     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java(Inlined Compiled Code))     at oracle.adf.model.BindingContext.get(BindingContext.java(Compiled Code))     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:228)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:308)     at oracle.adf.model.binding.DCUtil.findBindingContainer(DCUtil.java:536)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:121)     at oracle.adf.controller.lifecycle.LifecycleContext.initialize(LifecycleContext.java:77)     at oracle.adf.controller.struts.actions.DataActionContext.initialize(DataActionContext.java:51)     at oracle.adf.controller.struts.actions.DataAction.execute(DataAction.java:150)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)     at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code))     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java(Compiled Code))     at java.lang.Thread.run(Thread.java:568)
    Can anybody tell/help why I am getting this error?
    Thanks
    Syed

    I believe this counts to be a bug in adf. I met with such errors as well in migration 1012 from NT to AIX platform, and after decompiling adf jar code and tak a look at it, the following code block indicates that In class- oracle.jbo.client.Configuration
    , it is hard coded to get secure provider- sun/security/provider/Sun, as listed below...
    import sun.security.provider.Sun;
    static void checkSecurityProviders()
    Provider aprovider[] = Security.getProviders();
    boolean flag = false;
    for(int i = 0; i < aprovider.length; i++)
    if(!aprovider.getName().equals("SUN"))
    continue;
    flag = true;
    break;
    if(!flag)
    try
    Sun sun = new Sun();
    Security.addProvider(sun);
    catch(Exception exception)
    exception.printStackTrace();
    Adam

  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError:

    Dears
    I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
         at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl._initIfNeeded(ViewHandlerImpl.java:346)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:88)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:374)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.kacst.common.filter.ErrorHandlerFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         ... 58 more
    Any body has faced a similar issue. Please let me know your views
    Best regards
    Mohamed Chargui

    The JSF version packaged starting in 11.1.2.0.0 has been upgraded to 2.0.
    Jdeveloper 11.1.1.6 support is JSF 1.2.
    Upgrade to JDeveloper 11.1.2.0.0.
    With an earlier version of WLS (10.3.4) add the jsf library configuration for the JSF 2.0 library to weblogic.xml with exact-match set to true.
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>2.0</specification-version>
    <implementation-version>1.0.0.0_2-0-2</implementation-version>
    *<exact-match>true</exact-match>*
    </library-ref>
    Edited by: dvohra16 on Feb 28, 2013 6:43 AM

  • Error: java.lang.NoClassDefFoundError in execution

    Hi, I compile my code right but when I'm executing the code I get the following error:
    java.lang.NoClassDefFoundError: jahuwaldt/tools/NeuralNets/NeuronFactory
    This is my code:
    import jahuwaldt.tools.NeuralNets.*;
    public class Gene
    public FeedForwardNet OOLFFNet;
    public Gene(int newNumInput,int newNumOutput,int newNumHidden,int newNeuronHLayer)
      OOLFFNet = new FeedForwardNet(NumInput,NumOutput,NumHidden,NeuronHLayer, new BasicNeuronFactory() );This line that fails is the last one.
    In the directory of jahuwaldt/tools/NeuralNets I got the file NeuronFactory.class. So I don't know why the code compiles right but when it is in execution mode gives the error non class found, when the class is in the directory. Any help?. Thanks in advance

    Hi, thanks again. I'm stuck with this I have test several options but I still get the same error. These are some options that I have tried.
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\*.class; sim.app.OOL.OOLWithUI
    java -classpath  C:\NeuralNet\jahuwaldt\tools\NeuralNets\NeuronFactory\NeuronFactory.class; sim.app.OOL.OOLWithUIWhere is the problem?, I think that they are the same that the example from the java help.
    java -classpath C:\java\MyClasses\myclasses.jar utility.myapp.Cool
    Thanks again.

  • 'java.lang.NoClassDefFoundError' when displaying ESS webdynpro iviews

    Hi,
    We are running ECC5 backend & EP6 SP9. I have done the following :
    (1) Applied via SDM the XSS components & ESS 60.2 Business Package in EP6
    (2) Configured SLD
    (3) Create/Maintain necessary Jco Destinations
    (4) Create necessary System landscape (SAP_Webdynpro_XSS and etc)
    (5) Activated integrated ITS 640 in ECC5
    When I try to access any ESS webdynpro iviews from the Portal, for eg the Address iview :
    https://Portalhost.domain/webdynpro/dispatcher/sap.com/essusaddr/Per_Address_US
    I received the following error :
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventId
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
         at java.lang.Class.getConstructors(Class.java:865)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:775)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:329)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:352)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Any idea what went wrong ? Appreciate your help.
    Thanks,
    Joanna

    Hi Joanna,
    You can find information abt ESS from the following links
    https://websmp203.sap-ag.de/ess
    http://help.sap.com/saphelp_nw04/helpdata/en/52/01fc3f17c2c342e10000000a1550b0/frameset.htm
    Regards
    gEorgE

  • Error: java.lang.NoClassDefFoundError in Jdeveloper 9.0.5.2.(Build 1618)

    Error: java.lang.NoClassDefFoundError org.apache.struts.taglib.BaseHandlerTag
    Hi,
    We are using Jdeveloper10g version 9.0.5.2(Build 1618) as our IDE. We have a struts based controller architecture in our project. So we frequently use struts tags in our jsp pages. The application is working fine but sometimes when i do some changes in one of or a number of the jsp files in Jdeveloper , after recompiling i get the above error in number of jsps though i haven't touched those jsps at all.
    I found a work around for this problem by just shutting down the Jdeveloper and again starting it.
    It gives such kind of errors for only stuts based tag containing jsps.
    Do anybody has any solution for this persistent problem.
    My whole team is facing this problem.
    With Warm Regards,
    Datta.

    No anyone knows?

  • Java.lang.NoClassDefFoundError: javax/xml/rpc/Service

    Hi,
    I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at com.Gudds.SeCURE.MainUI.<init>(MainUI.java:76)
            at com.Gudds.SeCURE.Main.Start(Main.java:62)
            at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.
    Regrdas,
    Kundan

    1. Build jar file with MAINFEST.MF and Export of Eclipse , which has content:
    suppose in folder:
    c:\client.jar ( client of web service )
    c:\contrib/lib/ axis apis
    Main-Class: com.MainClassName
    Class-Path: contrib\axis\jaxrpc.jar contrib\axis\activation.jar con
    trib\axis\axis.jar contrib\axis\axis.jar contrib\axis\commons-disco
    very.jar contrib\axis\wsdl4j.jar contrib\axis\saaj.jar contrib\axi
    s\soap.jar contrib\axis\commons-logging.jar contrib\axis\log4j.jar
    contrib\axis\mail.jar
    2. build jar with ant: make sure the their are at least one blank between
    values of Class-Path.
              <jar destfile="../Client/client.jar" >
                   <fileset dir="${build.dir}"/>
              <manifest>
              <attribute name="Built-By" value="${user.name}"/>
                   <attribute name="Main-Class" value="com.MainClass"/>
              <attribute name="Class-Path" value=" contrib\axis\jaxrpc.jar contrib\axis\activation.jar .. "/>
              </manifest>
              </jar>
    3. If you haven't pack you class file in jar, create a bat to set CLASSPATH
    exactly to all jars.
    Hope this helps

  • Exception in thread main java.lang.NoClassDefFoundError when Install 11g 2

    Exception in thread main java.lang.NoClassDefFoundError when Install Oracle database 11g release 2 on redhat linux enterprise 5
    My Java Version is 1.6.0_13-b03, can anyone help?
    Error Message as follows:
    准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2009-12-01_11-25-58AM. 请稍候...[oracle@redhatlinux ~]$ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

    I am getting the same exception. I tried using xhost_+ but it's still not working for me.
    Again, here is the error that I'm receiving when trying to install Oracle 11g:
    Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    Thanks in advance for the help!!
    Also, this is all very new to me. So if you could provide a step-by-step answer I would really appreciate it.
    Edited by: user9014123 on Jan 25, 2010 1:40 PM

  • Error: java.lang.NoClassDefFoundError.... what do I do?

    I'm kinda new to this.... Everything works fine on my Desktop machine (XP Pro), but I've tried twice now to install the SDK (1.5.0_05) on my laptop (XP Home) and here's the problem.
    When I create a simple classs (see example below) and compile it, everying goes ok and I get the FileName.class result. But when I try to run it ("C:\Documents and Settings\ .... \java directory > java FileName") I get the following error statement.
    Exception in thread "main" java.lang.NoClassDefFoundError: FileName
    What do I do to fix this?

    Hello,
    I have the same problem but I'm using Jbuilder. I allways get this error:
    java.lang.NoClassDefFoundError:
    Test Exception in thread "main"
    I don't even have a class called Test but whichever project I run gives this error. Even simple hello world programs. This question has been asked before but I couldn't find any real answers. Someone mentioned class paths but I don't know how to test this.
    Is anyone familiar with Jbuilder project options? I have JRE and JSE installed. Thanks.

  • Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHa

    I am using JDeveoper10.1.2 with JHeadStart
    I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
    Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
    Please help what could be the cause.

    I have another way to solve this problem!
    When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
    or
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
    If line (1) marked, change the prefix="html" to prefix="html1"
    If line (2) marked, find the lines like <bean:message key="link.something_here"/>
    and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
    I successfully using this way but only if one error happend at a time or two errors from two kinds of error
    This way is not as good as the previous way mentioned in previous post.

  • Servlet error: java.lang.NoClassDefFoundError

    We have created OC4J instance on application server.
    Deployed single application (ear) consisting of one ejb module and one web module.
    We have deployed the application using OEM, it is installed successfully.
    When we try to access the action class following error is displayed,
    Servlet error:
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2028)
    This problem does not occur always.
    We have been able to successfully deploy the same ear file on some ocassion.
    OS used: Linux Advanced server 2.1
    Application server: 10g (9.0.4)

    Hi, here is my CLASSPATH setting,
    CLASSPATH=d:\ptc\Windchill\codebase;d:\ptc\Windchill\codebase\WEB-INF\lib\ie.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\JGL.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xerces.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\saxon.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\xalan.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\mail.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\activation.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\soap.jar;d:\ptc\Windchill\codebase\WEB-INF\lib\jnilib
    the wt.content package is packed into the wt.jar, and the wt.jar is in the d:\ptc\Windchill\codebase directory.

  • [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError:

    the Message Queue & the client have been running for days. Today my Connection ExceptionListener caught a Exception with the following message:
    [C4089]: Caught JVM Error: java.lang.NoClassDefFoundError: com/etang/dispatch/DispatchItem
    I must say the class is definitely available( when I restart the client, it is OK), anyone has got the same problem?
    I've updated the package containing the "lost" class fie while the client is running. Would this contribute to the exception?
    MQ3.5 SP1 Platform Edition

    I use j2sdk1.4.2_07 for last 8 months. Now I got a error while interpreting the class file like Exception in thread "main" java.lang.NoClassDefFoundError: check.
    I am sure definitely I have the class in the current directory.
    I reinstall the j2sdk1.4.2_07 again I got the same error.
    Reply me if anybody solve the error like this.

  • Java.lang.NoClassDefFoundError when doing Setting Up the Trading Partner

    i am getting
    Error - Unhandled Exception
    Setting Up the Trading Partner
    System Error : java.lang.NoClassDefFoundError
    while doing trading partner Create Communication Capability.

    Hi Ramesh,
    Thanks,
    I tried restart and , value of Calsspath. that didnt helped.
    i was running short of time so i have gone for install in new oracle home, this is working fine.
    Thanks,
    Varun

  • Java.lang.NoClassDefFoundError when running DBCA after fresh install

    Hello there.
    I have just installed Oracle 9i on a new server, since we are moving our database server from one machine to the other, and after going through the installation without any problems DBCA was going to run but I have got the following error message:
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/help/Help
    at oracle.sysman.assistants.dbca.ui.UIHost.initializeHelp(UIHost.java:24
    5)
    at oracle.sysman.assistants.dbca.ui.UIHost.initialize(UIHost.java:228)
    at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:96)
    at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:161)
    I have checked the CLASSPATH, which currently is:
    "C:\Program Files\Oracle\jre\1.1.8\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.8\lib\i18n.jar;%ORACLE_HOME%\assistants\dbca\jlib\dbca.jar;%ORACLE_HOME%\assistants\jlib\assistantsCommon.jar;%ORACLE_HOME%\jlib\ewt3.jar;%ORACLE_HOME%\jlib\ewtcompat-3_3_15.jar;%ORACLE_HOME%\jlib\share.jar;%ORACLE_HOME%\jlib\swingall-1_1_1.jar;%ORACLE_HOME%\jlib\oracle_ice5.jar;%ORACLE_HOME%\jlib\help3.jar;%ORACLE_HOME%\jlib\kodiak.jar;%ORACLE_HOME%\lib\xmlparserv2.jar;%ORACLE_HOME%\jlib\gss-1_1.zip;%ORACLE_HOME%\classes;%ORACLE_HOME%\jlib\oembase-9_2_0.jar;%ORACLE_HOME%\jlib\srvm.jar;%ORACLE_HOME%\jdbc\lib\classes111.zip;%ORACLE_HOME%\jlib\netcfg.jar;%ORACLE_HOME%\lib\vbjorb.jar;%ORACLE_HOME%\lib\vbjtools.jar;%ORACLE_HOME%\lib\vbjapp.jar;%ORACLE_OEM_CLASSPATH%"
    If you could please help I would appreciate it.
    Kind regards.

    Hello, rajeysh.
    Thank you for your reply, I have tried this method but it did not work, the problem remains the same.
    Please notice that with the reference you've quoted the error is java.lang.NoClassDefFoundError: oracle/sysman/emSDK/common/nls/MessageBundle while mine reports the error java.lang.NoClassDefFoundError: oracle/help/Help.
    So, if you have any other ideas I would appreciate it.
    Kind regards.

Maybe you are looking for