Getting NoClassDefFoundError

Hi,
I am getting NoClassDefFoundError when I am trying to run the java file (with package name) from a batch file.
This happens only when I have kept the file in the directory having SPACE in its name.
sample code is as follows -
java -classpath %CLASSPATH% -Dunitymail.home="%SAMPLE_HOME%" -Djava.library.path="%SAMPLE_HOME%\code\SAMPLE;" com.mypackage.MyClassName
I am running the batch file from the specific location. but I am getting the following error -
M 6.0" com.mypackage.MyClassName
Exception in thread "main" java.lang.NoClassDefFoundError: Install\MY
The actual directory Name is "New Install\MY code"
It seems that the while running from a batch file it is giving error. Can any help
-sachin

But we need that option and also don't want to restrict the user from installing the product in any such directory. Do any one has any idea of how to slove this problem. It's getting very critical and important.

Similar Messages

  • Get NoClassDefFoundError: javax/faces/context/FacesContext Error at Runtime

    I'm in 11g, PS1. I have an application and I have a SelectOneChoice component that invokes a managed bean (i.e. #{queryHandler.availableFilterChoice}). It then calls my constructor public QueueHandler and within that constructor i have the following line of code:
    Application application = FacesContext.getCurrentInstance().getApplication();
    This line of code builds and compiles, but at runtime I get the following error NoClassDefFoundError: javax/faces/context/FacesContext and the application stops and fails and nothing is rendered. I have the following libraries in my project:
    JSP Runtime
    JSF 1.2
    JSTL 1.2
    ADF Page Flow Runtime
    ADF Controller Runtime
    ADF Controller Schema
    ADF Faces Runtime 11
    ADF Common Runtime
    ADF Web Runtime
    MDS Runtime
    MDS Runtime Dependencies
    Common Beanutils 1.6
    Common Logging 1.0.4
    Common Collections 3.1
    ADF DVT Faces Runtime
    ADF DVT Faces Databinding Runtime
    EJB 3.0
    JPS Designtime
    TopLink
    Oracle XML Parser V2
    Java EE 1.5 API
    Oracle JEWT
    Trinidad Runtime 11
    JSTL 1.2 Tags
    Resource Bundle Support
    Resource Bundle Variable Resolver
    Weblogic 10.3 Remote-Client
    Oracle JDBC

    I'm sorry, but I guess I don't understand what you're saying. But I'm not using the line of code below anywhere so I cannot remove it. I did try to use to use that line of code then I used the import org.apache.myfaces.trinidad.util.Service; and when I use those lines of code, I get the same exact Error.
    ExtendedRenderKitService erks = Service.getRenderKitService(FacesContext.getCurrentInstance(), ExtendedRenderKitService.class);

  • File compiles but later i get NoClassDefFoundError

    I wrote the following (shortened) Java-Servlet. I put j2ee.jar, xalan.jar, xalanservlet.jar and xml-apis.jar to the classpath and it compiles without an Error.
    When I now want to start the Servlet on a Domino Server or Tomcat, then
    I get the following Error Message:
    HTTP JVM: java.lang.NoClassDefFoundError: javax/xml/transform/TransformerFactory: javax/xml/transform/TransformerFactory
    I have done everything which I could imagine to get the servlet run. I changed the Servers classpath a lot of times. I use the
    Java(TM) 2 SDK, Enterprise Edition Version: 1.3.1 FCS Release Date: January 2002.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.net.URL;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    public class SimpleXSLTServlet extends HttpServlet {
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException, java.net.MalformedURLException
    response.setContentType("text/html; charset=UTF-8");
    PrintWriter out = response.getWriter();
    try
    TransformerFactory tFactory = TransformerFactory.newInstance();
    catch (Exception e)
    out.close();
    }

    I wrote the following (shortened) Java-Servlet. I put
    j2ee.jar, xalan.jar, xalanservlet.jar and xml-apis.jar
    to the classpath and it compiles without an Error.
    When I now want to start the Servlet on a Domino
    Server or Tomcat, then Try copying xalan.jar in the common/lib folder for Tomcat
    All files in that folder get added to the system classpath
    I hope that helps.
    Thanks,
    Bhakti
    I get the following Error Message:
    HTTP JVM: java.lang.NoClassDefFoundError:
    javax/xml/transform/TransformerFactory:
    javax/xml/transform/TransformerFactory
    I have done everything which I could imagine to get
    the servlet run. I changed the Servers classpath a lot
    of times. I use the
    Java(TM) 2 SDK, Enterprise Edition Version: 1.3.1 FCS
    Release Date: January 2002.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.net.URL;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    public class SimpleXSLTServlet extends HttpServlet {
    public void doGet (HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException,
    on, java.net.MalformedURLException
    response.setContentType("text/html;
    ml; charset=UTF-8");
    PrintWriter out = response.getWriter();
    try
    TransformerFactory tFactory =
    ory = TransformerFactory.newInstance();
    catch (Exception e)
    out.close();

  • Imported Library - NoClassDefFoundError

    Imported Library - NoClassDefFoundError
    Hi
    I created a shared library and imported it in my application using orion-application.xml
    <imported-shared-libraries>
    <import-shared-library name="amc.common" max-version="1.0"></import-shared-library>
    </imported-shared-libraries>
    When I run the application I get NoClassDefFoundError when accessing a class in the Shared library.
    I Know the Jar is Ok as the application works fine when I build the .jar into WEB-INF/lib
    When I check ClassLoader using system Mbean, I can see that the shared library is imported by my Web Application. So why it is failing to find the class ?
    What else need to be done in the application to load the classes that are in the shared library ?
    Aimey

    Hi,
    there is nothing specific that needs to be done on an application side. However, my best advise is to ask this question on the OC4J forum as I am not an expert in share libraries and known issues with it
    Frank

  • NoClassDefFoundError - Help me!!!

    Hi everybody
    I am getting "NoClassDefFoundError" when I try to run my application using Java interpreter. I have rightly given the classpath. Pl. help me.
    Thank u

    I have installed the jdk1.3 afresh. I am getting this problem even in the sample classes of the demo directory which I tried to execute.
    Thank u

  • Howto get informations from theme

    Hi,
    I need to get some value from portal theme(e.g. some Background color of Groups). Now I now how to get theme:
    ILAFService iLAFService = (ILAFService)request.getService(ILAFService.KEY);
    IThemeInfo theme = iLAFService.getCurrentTheme(request);
    but now I dont know what should I do now. When I tried to debug, i found out that theme is of class LAFService@ThemeInfo but i am not able to cast to this class(still getting NoClassDefFoundError, what should i add to portalapp.xml??). Is there any easy way how to find out that informations from theme? (i tried to decompile theme editor, but i get lost in the beggining of the code ).
    thnaks
    JJ

    Hi JJ,
    first of all the LAFservice (Look and Feel Service) is no public API. Furthermore it has only knowledge about themes and their versions.
    The service which knows about parameters is the DesignService residing within the Portal application com.sap.portal.themes.designservice but also this service is no public API.
    Feel free to send a feature request to Enterprise Portal product management.
    Regards,
    Timo

  • A more mysterious NoClassDefFoundError problem

    This is a continuation of cannot solve NoClassDefFoundError. I implemented amtguy's suggestion to the previous thread and it fixed my problem. I didn't know -cp was ignored when using -jar.
    In my executable jar's manifest, I specified the Class-Path: entry with the jars I need and problem solved.
    Now, I get NoClassDefFoundError for the class that is the entry point for the executable jar.
    The manifest's Main-Class: value is ok. It contains the full package name for the class. The class is in the jar and its path matches the package name.
    How did setting the manifest Class-Path: break things so that the class I am trying to execute cannot be found?
    Again, thanks for any help.

    I have the same problem ... it sure would be nice to make the jsp:plugin tag able to understand what to do on Mac OS X.

  • NoClassDefFoundError when accessing outside class

    In my iView I need to reference to a class from a different package. I get NoClassDefFoundError exception trying it.
    I have a SharingReference for that package in my portalapp.xml:
    <application-config>
    <property name="SharingReference" value="myPackage.common" />
    </application-config>
    As well as I have included reference to that package within the classpath of the deployed application. Also JAR file that contains that package residing in the physical server directory (in .../server0/additional-lib)
    Actually it works on SAP EP 6. However it does not work for SAP EP11 version.
    What am I missing?
    Any suggestion is greatly appreciated.

    Thank you Prakash.
    I already resolved it.
    So, I had to make sure that:
    1. class path has it
    2. portalapp.xml has the SharingReference
    3. PAR file includes the JAR file in the PORTAL-INF/lib

  • Java Reflection: NoClassDefFoundError again

    Hi everyone,
    I've search the forum about my problems but none of it seems to have solution to me, so I have to post this new topic, please understand for me.
    I'm writing a program that will parse java.class file to get their public methods, I'm using two methods
    clazz = Class.forName(className)and
    clazz.getDeclaredMethods();At first, I encounter problem about ClassNotFoundException at Class.forName(className), I've do some research and know that it is caused when the java.class file I'm parsing is not in the classpath, so I've add them to my classpath.
    ClassNotFoundException has gone, means that I can go to the next line of code clazz.getDeclaredMethods(), but then I encounter another problem NoClassDefFoundError org.eclipse.core.runtime.IProgressMonitor.
    The class I'm parsing using class org.eclipse.core.runtime.IProgressMonitor in jar file org.eclipse.equinox.common_3.2.0.v20060603,
    I guess that I need to load this jar file into my class loader, so I create my custom URLClassLoader as below
    public class JarFileLoader extends URLClassLoader
                 public JarFileLoader (URL[] urls)
                     super (urls);
                 public void addFile (String path) throws MalformedURLException
                     String urlPath = "jar:file:" + path + "!/";
                     addURL (new URL (urlPath));
    }In my code, before parsing the java.class file I've loaded all the jar file neccessary into my JarFileLoader using
    jarFileLoader.addFile(filePath);, then I use
    clazz = jarFileLoader.getClass(className)
    clazz.getDeclaredMethods();to get methods of java.class, but NoClassDefFoundError org.eclipse.core.runtime.IProgressMonitor still happens, Is there any error with my custom URLClassLoader, please help me with these problems

    I suggest you try doing this without a custom class loader first.
    It sounds like this class needs another class in another file.
    Try
    Method[] methods = org.eclipse.core.runtime.IProgressMonitor.class.getDeclaredMethods();You could get NoClassDefFoundError if a method refers to a class you don't have. So its important to look for an exceptions/errors which occur before this one.

  • Java.lang.NoClassDefFoundError: Lcom/adobe/service/ConnectionFactory;

    Hi,<br /><br />I am trying to run the livecycle assembler sample code.<br /><br />When I call invoke method on Assembler bean object,I get NoClassDefFoundError.I have added all the library jars in my classpath as listed in the documentation.<br /><br />assembler7EJBclient.jar<br />adobe-common.jar<br />AdobeCSAUtils.jar<br />datamanager-client.jar<br /><br />I would appreciate if someone can point me to missing jar file needed here.<br /><br />Here is the stack trace.<br /><br />java.lang.NoClassDefFoundError: Lcom/adobe/service/ConnectionFactory;<br />     at java.lang.Class.getDeclaredFields0(Native Method)<br />     at java.lang.Class.privateGetDeclaredFields(Unknown Source)<br />     at java.lang.Class.getDeclaredField(Unknown Source)<br />     at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)<br />     at java.io.ObjectStreamClass.access$400(Unknown Source)<br />     at java.io.ObjectStreamClass$3.run(Unknown Source)<br />     at java.security.AccessController.doPrivileged(Native Method)<br />     at java.io.ObjectStreamClass.<init>(Unknown Source)<br />     at java.io.ObjectStreamClass.lookup(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeArray(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject(Unknown Source)<br />     at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.java:57)<br />     at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:477)<br />     at java.io.ObjectOutputStream.writeExternalData(Unknown Source)<br />     at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject0(Unknown Source)<br />     at java.io.ObjectOutputStream.writeObject(Unknown Source)<br />     at sun.rmi.server.UnicastRef.marshalValue(Unknown Source)<br />     at sun.rmi.server.UnicastRef.invoke(Unknown Source)<br />     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)<br />     at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)<b r />     at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:67)<br />     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)<br />     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:53)<br />     at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:1 00)<br />     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)<br />     at $Proxy1.invoke(Unknown Source)

    am developing a sample class using netbeans.
    i have all the software windows 2003(adobe lifecycle assembler 7.2/ bea 8.1 sp4) installed on same box
    I was running into similar issue as described above but that got fixed when added DocumentServicesLibrary.jar to class path in netbeans
    when i try to debug my class . its throwing me a error
    after this statement
    ctx=asm.login(username,pasword)
    printstacktrace() is
    Assembler 7 is unreachable - failed to unmarshal class com.adobe.idp.Context; nested exception is: java.io.InvalidObjectException
    : inauthentic principal assertion
    Any thoughts - I am using the sample code provide in developer guide ..

  • A working application suddenly caused java.lang.NoClassDefFoundError

    I have a web application running on a resin server. Everything in my application worked fine at the beginning but suddenly I got java.lang.NoClassDefFoundError. I looked at the line number of the exception and found out that the classes causing java.lang.NoClassDefFoundError are always the ones that contain static collection of data. The samples of those classes are CityList class and CountryList class which has a HashMap of city IDs and the city name strings. I'm not sure why those classes suddenly become unavailable. The strange thing is that my application becomes normal again when I upload my classes to site. Please note that my webhoster set up the server so that every time I upload my file to their given directory, it's automatically copied to the resin server. I have no direct access to the resin server myself. After I re-upload my classes, everything seems ok for a few hours, then suddenly I get NoClassDefFoundError again.
    Anyone knows why? Please help. I have no idea why this is happening.

    I seem to have a similar problem. No fix...looking for a solution.
    I have a stand alone java application that will run for a long period of time. While running it calls a specific static method on a class. Everything is working fine (while executing the method in the class) and then, all of a sudden, I will get a noClassDef error.
    I am running this application with a number of JVMs, all using the same version of Java and they do not show this problem. I know that they are all calling the same class and method and they never have the problem. But, every now and then, it seems like there is some runtime condition that comes up where it is not able to load a class.
    The problem appears to be dynamic because I can restart the application (after the JVM crashes with the exception) and everything works fine, including the class and method that caused the problem. I start everything with scripts so there is no variation in classpath settings.
    I have seen a similar problem in a non-static class when one event happens and it goes to load a common class (that I know is in the classpath) and I get the noClassDef error.
    Could this be a threading issue in any way? No ideas, no fixes in sight. Any ideas or questions would be helpful.

  • NoClassDefFoundError after adding third-party jars... need help

    Hello SDN! I'm strongly need your help.
    I'm developing a WD Java application which contains followed DCs:
    AppDC is a Web Dynpro which contains application-depended views, controllers, runnable WD app.
    ExporterDC is a Web Dynpro DC with no applications, this is helper DC for export table data into Excel and other formats
    MainDC is a Web Dynpro DC with no applications, this is a basis DC. This DC contains some common useful views and controllers which used by AppDC
    JavaDC is a Java DC (not J2EE Server Component) which contains my own common helper classes
    LibsDC is a External Library DC which contains third-party jars used by apps
    J2eeDC is a J2EE Server Component Library DC which is just a wrapper for LibsDC
    These DCs has followed  dependencies:
    LibsDC is Used DC for J2eeDC (both assemble and compile types) with Build-time dependency
    J2eeDC is Used DC for JavaDC (defLib) with Build-time and Run-time dependencies
    JavaDC is Used DC for ExporterDC, MainDC and AppDC (both assemble and compile types) with Build-time dependency
    ExporterDC is Used DC for MainDC (both assemble and compile types) with Build-time dependency
    MainDC is Used DC for AppDC (both assemble and compile types) with Build-time dependency
    Build perform without errors. I can deploy build results of J2eeDC, ExporterDC, MainDC and AppDC. But when I call my application I get NoClassDefFoundError at row of ExporterDC where is the first call of class from JavaDC which has reference to classes from third-aprty jars.
    Please note that I'm not using third-party jars in WD DCs, these jars used only in JavaDC.
    I've read quite many threads and blogs but I can't to find solution.
    P.S. I'm working with NW 7.0 SP 14, all DCs are local.
    Hell will be apriciated!
    Regards, Lev

    Hi!
    Thank you for reply!
    Here are few jars in Entities for assembly PP and compile PP in ExtLibrary DC. In "properties" tab property "type" has value "Archive" for every of jar in Entity.
    About blog - this blog about situation when Web Dynpro DC use third-party jar. But in my situation Web DC uses Java DC, there is no references to jars in code of WD DC. Only Java DC references to jars.
    regards, Lev

  • BO BI 4.0 java sdk NoClassDefFoundError IException

    We are upgrade current system BO XI R2-->BO BI 4.0. Everything is ok in windows environment.
    After we deploy web app to websphere unix environment, we get java exception:
    java.lang.NoClassDefFoundError: com/businessobjects/foundation/exception/IException
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    java code like this:
       try{
           ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr(); <---java error (NoClassDefFoundError:IException)
          // Enter your CMS logon info here
           enterpriseSession = sessionMgr.logon(CE_User, CE_Pwd, CE_APS, CE_Auth);
           // Save Session Manage to session
           session.setAttribute("ceSession", enterpriseSession);
       }catch(SDKException se){
          log.error("Exception:", se);
    unix Websphere 6.1.0.35
    IBM JDK 1.5.0_26-b03
    jar list:
    09/29/2011 09:38 AM 116,039 aspectjrt.jar
    09/29/2011 09:38 AM 123,895 bcm.jar
    09/29/2011 09:38 AM 724,814 biarengine.jar
    09/29/2011 09:38 AM 3,673 ceaspect.jar
    09/29/2011 09:38 AM 6,273,791 cecore.jar
    09/29/2011 09:38 AM 289,963 celib.jar
    09/29/2011 09:38 AM 22,918 ceplugins_core.jar
    09/29/2011 09:38 AM 669,318 cereports.jar
    09/29/2011 09:38 AM 648,664 certjFIPS.jar
    09/29/2011 09:38 AM 71,369 cesearch.jar
    09/29/2011 09:38 AM 44,861 cesession.jar
    09/29/2011 09:38 AM 3,749 ceutils.jar
    09/29/2011 09:38 AM 60,588 clientlogic.jar
    09/29/2011 09:38 AM 133,437 coarsegrain.jar
    09/29/2011 09:38 AM 1,313,469 corbaidl.jar
    09/29/2011 09:38 AM 2,177,493 cryptojFIPS.jar
    09/29/2011 09:38 AM 4,602,867 CrystalReportsSDK.jar
    09/29/2011 09:38 AM 2,052,529 ebus405.jar
    09/29/2011 09:38 AM 104,220 freessl201.jar
    09/29/2011 09:38 AM 375,087 jsafe.jar
    09/30/2011 11:53 AM 19,923 jstl.jar
    09/29/2011 09:38 AM 126,699 logging.jar
    09/29/2011 09:38 AM 118,348 ras21sdk.jar
    09/29/2011 09:38 AM 43,750 SL_plugins.jar
    09/29/2011 09:38 AM 429,588 ssljFIPS.jar
    09/29/2011 09:38 AM 570,525 TraceLog.jar
    09/29/2011 09:38 AM 32,013 webreporting-jsf.jar
    09/29/2011 09:38 AM 1,115,675 webreporting.jar
    09/29/2011 09:38 AM 119,804 xpp3.jar
    web.xml:
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>crystalreportviewers</param-value>
    </context-param>
    <servlet>
    <servlet-name>ReportViewerServlet</servlet-name>
    <servlet-class>ReportViewerServlet</servlet-class>--our
    code
    </servlet>
    <servlet>
    <servlet-name>CrystalReportViewerServlet</servlet-name>
    <servlet-
    class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ReportViewerServlet</servlet-name>
    <url-pattern>/ReportViewerServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>CrystalReportViewerServlet</servlet-name>
    <url-pattern>/CrystalReportViewerHandler</url-pattern>
    </servlet-mapping>
    </web-app>

    I am also getting NoClassDefFoundError as mentioned below, I have tried restarting the server multiple times adjusting the system variables Don't know why BO setup does not update correct environment settings anyway I have setup windows 2008 environment variables as follows, Please correct me if they are wrong:
    CLASSPATH to D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\jdk\jre\lib
    JAVA_HOME to D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\jdk\jre
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \java\lib>dir PKC*.jar
    Volume in drive D is Data
    Volume Serial Number is 0CBE-A9BC
    Directory of D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Ent
    erprise XI 4.0\java\lib
    12/21/2011  01:30 PM             5,913 PKCS12Tool.jar
                   1 File(s)          5,913 bytes
                   0 Dir(s)  534,696,849,408 bytes free
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \java\lib>"D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterp
    rise XI 4.0\win64_x64\jdk\jre\bin\java" PKCS12Tool.jar -alias mywin -storepass a
    dmin1 -dname CN=xyz
    Exception in thread "main" java.lang.NoClassDefFoundError: PKCS12Tool/jar
    Caused by: java.lang.ClassNotFoundException: PKCS12Tool.jar
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: PKCS12Tool.jar.  Program will exit.
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \java\lib>echo %CLASSPATH%
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \win64_x64\jdk\jre\lib
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \java\lib>echo %JAVA_HOME%
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \win64_x64\jdk\jre
    D:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0
    \java\lib>
    I want to create these files for setting up SSO with BEx Web & Portal Integration. I have updated BO SP2 patch 10 successfully. Also wondering where to find the SBOP 4.0 SP2 Patch 10 updated information.

  • Re: NoClassDefFoundError

    This is a classpath problem.
              Please try following,
              C:\BEA\wlserver6.0\config\examples>java -classpath
              C:\BEA\wlserver6.0\lib\weblogic.j
              ar weblogic.jspc
              It should work.
              "stephen zeng" <[email protected]> wrote in message
              news:[email protected]..
              > I first run setExamplesEnv successfully and run the build command
              > under JSP sample.
              >
              C:\BEA\wlserver6.0\config\examples>C:\BEA\wlserver6.0\samples\examples\jsp\b
              uild
              >
              > C:\BEA\wlserver6.0\config\examples>C:\BEA\jdk130\jre\bin\java
              > -classpath
              .\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\weblogicaux.jar;.
              >
              \samples\eval\cloudscape\lib\cloudscape.jar;.\config\examples\serverclasses
              > webl
              > ogic.jspc -d
              C:\BEA\wlserver6.0\config\examples\applications\examplesWebApp\WEB-
              > INF\classes *.jsp
              > Exception in thread "main" java.lang.NoClassDefFoundError:
              > weblogic/jspc
              >
              > I get the above error. And I often get NoClassDefFoundError, How to
              > solve such problem?
              > Thanks. Stephen
              

    has anybody got the solution for this
              

  • Cannot solve a NoClassDefFoundError problem

    I have two jars. One is an executable jar and the other has classes used as a library by the executable jar.
    The executable jar has a manifest that identifying the main class and nothing else. There is no class path definition in the manifest.
    The library jar has a basic default manifest containing only creation date and created by entries.
    When I run the executable jar I get NoClassDefFoundError for one of the classes contained in the library jar. I have verified everything is correct inside the library jar. The class is in the jar, everything is spelled correctly, etc.
    I tried every way I know to set the class path with the library jar.
    I have put the pathname/library.jar on the system CLASSPATH and tried java -jar executable.jar
    I have tried java -cp pathname/library.jar -jar executable.jar
    I have tried java -classpath pathname/library.jar -jar executable.jar
    No matter, I still get NoClassDefFoundError. I don't know what else to try.
    Can someone make a suggestion?
    Thanks in advance.
    -S

    An easy thing to try isjava -cp pathname/library.jar;pathname/executable.jar somepackage.MainClassInsideJarReplace the ; with a : if you are using a *nix computer.
    When the -jar option is used, the -classpath or any system classpath is ignored - the only classpath is the one in the manifest of the executable jar file, if specified.

Maybe you are looking for

  • Need a help on HTML report

    Hi, am going to generate an HTML report for a table by using below code SET heading off SET pagesize 80 SET MARKUP HTML ON SPOOL ON HEAD "<TITLE>Job Comparison Report</title> - STYLE TYPE='TEXT/CSS'><!--BODY {background: ffffc6} --></STYLE>" SET ECHO

  • N1SM v. Jumpstart

    Having read a brief spec of N1 System Manager I was wondering about a few things but most importantly ..... since N1SM seems to install the OS does it in fact manage to do all that JumpStart does? Does JumpStart still have features and facilities tha

  • Data statistics ALV

    Hi, Till 4.7 when you wanted to see the output of a table in an ALV grid / ALV list the data statistics were showed when you executed this in the background. From 5.0 these data statistics are disappeared. Is there a way to get these statistics back?

  • CF Builder w/ Coldfusion 9 remote debugging problem

    Have coldfusion9 installed on my linux server, everything works fine, can access the admin page, run basic files, etc. Have CF Builder Beta installed on mac, can write CF files and run them from linux server. Trying to get remote debugging working an

  • Running JNLP as administrator

    Hi, I have a JNLP that needs to invoked only by an administrator. Do we have any mechanism in webstart, if user launches application from non admin mode , it prompts the credentials for admin user and launches the application as admin. Thanks & Regar