Class def error?

hi
I am using NWDS 7.0 and EP 6.0 .While deploying one of my application i am getting the error: java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractTableColumn
I want to solve this problem by using some differnet clss for my table,or include the class
Please tell me how this can be done.
Regards
Nidhideep

Hi Nidhideep,
Version of NWDS should be qual or less than WAS version.
Best regards, Maksim Rashchynski.

Similar Messages

  • No class def found error in web start console.

    I use visual J++ to code my applet and I compile it and it runs perfect on my hard drive. So I upload the html and the class file and all the images to my web directory and then go to my browser (IE) and load up the html and the applet fails to run. The java webstart console gives me a no class def found error.
    Well. I have 1 java file to compile but when j++ compiles it, it creates 2 class files and the 2nd class file has a $sign in its filename. Example: filename$generic.class
    Well the web server will not accept any filenames with $ in them for upload so I can't upload this file to the www folder. But the applet apparently requires this class file to run the applet.
    Anyone have any idea what is this 2nd class file with the $ in its name and why its even there?
    Thanks
    Dave

    Hi.
    Java uses the $ sign to create filenames for inner classes. This is why you got this filename. Your problem is now a different one - your app server won't allow you to upload or use a file that has a $ in it's name. What are you using? VMS? (if so - there must be some kind of an escape sequence to allow you
    to have a $ in a filename).
    I don't know of a way to make the compiler and JVM use a different sign for inner-class separation. However, I know that JDK1.5 uses the '+' sign, so you might want to try and snoop in this direction.
    I hate to say that, but you're probably looking at recoding, or changing the platform you put your web server on.
    Nimo.

  • "Exception in thread "main" java.lang. No Class Def Found Error: Env"

    iam getting this erro message when i want to run the
    java program "Hello World"
    "Exception in thread "main" java.lang. No Class Def Found Error: Env"
    I have set environment variable for classpath and path for the jdk1.3.
    It is getting compiled without any error. When i try to run it it spits this error message:
    Help me......

    The problem could be from several reasons.
    If you're trying to run HelloWorld.java, you're class should defined as
    public class HelloWorld {
    public static void main(String[] args) {
    System.out.println("Hello World");
    This program must be in a file called HelloWorld.java
    to compile-- javac HelloWorld.java
    fo run--- java HelloWorld
    1. The class has to be public
    2. you must have a main method.
    3. The file must be named the name of your class(HelloWorld) with a .java extension.
    4. After you compile make sure there is a gile called HelloWorld.class in the directory you're working in
    Steve

  • I need help i get a no class def found error

    i am very new to java, and i am taking it as part of my computer science class for university, and here is my problem.
    after i compile a program i get this error
    java.lang.NoClassDefFoundError: C:\Sun\AppServer\bin\FoodItem/java
    Exception in thread "main"
    Tool completed with exit code 1
    i dont' know what it means or how i can fix it, and i have installed and reinstalled the program several times, but that did not help, and i am very unsure what else i should do. and i am very stressed because i have an assignment to submit, in several days and i have nothing working.
    i am running XP home, and i'm beginning to wonder if that has anything to do with why the program won't run.
    my thanks in advance for any help from anyone

    I have been programming in java for 4 years now. Im
    used to using the mac version of the Java 4 SDK.
    However I recently started using the Windows version
    of Java 5, and after compiling all the java files in
    one directory I try to run the main class using
    java CeltQuestHowever this gives me the NO CLASS DEF FOUND error
    mentioned above. I have repeatedly checked that Im in
    the correct directory, and I have also checked that
    all the class files are there.
    It's a little confusing because I can't tell whether you entered java CeltQuest before or after you deleted all of the .class files.
    Anyway, you must successfully compile the code to produce a .class file. If your CeltQuest class is NOT in a named package, then try "java -classpath . CeltQuest"
    Even though you have previously used java on a Mac, you might benefit from the Geting Started tutorial for Windows: http://java.sun.com/docs/books/tutorial/

  • Exception in thread "main" java.lang no class def found error

    hi,
    I am new to java. I have just started using java.I have installed jdk1.3 in my computer and tried to run the following code
    public class NumberCheck
    public static void main(String[] args)
    int number=0;
    number=1+(int)(100*Math.random());
    if(number%2==0)
    System.out.println("You have got an even number"+number);
    else
    System.out.println("You have got an odd number"+number);
    the following code compiles properly but when i use the command java NumberCheck to run the program it shows the above message that no class found error.
    As I am new to programming I dont know what to do. Can anyone please help me about it?

    The Gateway to Classpath Nirvana
    Setting the class path (Windows)
    How Classes are Found
    java -cp .;<any other directories or jars> YourClassNameYou get a NoClassDefFoundError message because the JVM (Java Virtual Machine) can't find your class. The way to remedy this is to ensure that your class is included in the classpath. The example assumes that you are in the same directory as the class you're trying to run.

  • Error building project using kXML2 - "Class loading error: Wrong name"

    Hi,
    I'm testing the XML-Parser KXML2 and downloaded the latest package, but the minimal version (kxml2-min.zip). I put this file into the directory "%j2mewtk%\apps\KxmlTest\lib" and wrote the lines
    import org.kxml2.io.*;
    import org.xmlpull.v1.*;
    When I try to build the project with the Wireless Toolkit (v1.04) it spits out the following error:
    Error preverifying class kxml2.io.KXmlParser
    Class loading error: Wrong name
    com.sun.kvem.ktools.ExecutionException: Preverifier returned 1
    Build failed
    I also tried the full package "kxml2.zip" but the same error occurs.
    How can I get rid of this? Thanks in advance!

    Okay, finally worked it out (hopefully). I unpacked the archive to a directory (say "%J2MEWTK%\apps\KxmlTest\tmpclasses") and then preverified them "manually":
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.kxml2.io.KXmlParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParser
    %J2SDK%\bin\preverify.exe -classpath "%J2MEWTK%\apps\KxmlTest\tmpclasses";"%J2MEWTK%\lib\midpapi.zip" org.xmlpull.v1.XmlPullParserException
    Then I packed them again to a jar-file:
    %J2SDK%\bin\jar.exe -cvf kxml2-min.jar %J2MEWTK%\apps\KxmlTest\tmpclasses\output\.
    That was all!

  • Bad class file error

    Hi
    I set my java home to JDK 1.4 and execute my build.It is ok.
    Then i try the same by setting JDK 1.5 as java home. build is ok.
    But now i need to use only JDK 1.4.So i set my java home as jdk 1.4 and try to execute the build.xml
    Now i got the error of class file has wrong version 49.0, should be 48.0
    I understand that the class files(49.0) which are created by JDK 1.5 and i try to execute those by JDK 1.4.
    But i donot knwo how to solve this.
    Will anybody please help me to solve?
    Thank you

    Hi
    I didnot compile java files with JDK 1.4 and 1.5 both.
    First time i use JDk 1.4. for all java files
    Second time i use JDk 1.5 for all java files.
    Finally i should use JDK 1.4. So i come to jdk 1.4 and set java home jdk 1.4 and exucute my build.xml. Then i got the bad class file error.
    Can u help me at this point?
    Thank you

  • Class based error handling

    Hi evrybody,
    i'd like to implemt some own errorclasses, but i cand find anything about the namespace to use. Am i right that evry class based error handling must start with cx? So which namespace is for customoers?
    cu
      Rainer

    Hi Rainer,
    if you already have a regulation for class names, just replace CL by CX and apply them accordingly.
    For example, if your classes are named ZCL_... or YCL_..., your exception classes will be named ZCX... or YCX_..., respectively.
    See T100 message OO 145 for the details. Here is the German version:
    +Kurztext
    Klassenname &1 ist für den gewählten Klassentyp nicht zulässig
    Diagnose
    Namenskonvention für Klassen :
    Für eine persistente Klasse ist der Präfix 'CL_' bzw. Namensraum+Präfix 'CL_' ( z.B. 'ZCL' oder '/NAMESPACE/CL_' ) vorgeschrieben.
    Für eine Exceptionklasse ist der Präfix 'CX_' bzw. NamensraumPräfix 'CX_' ( z.B. 'ZCX' oder '/NAMESPACE/CX_' ) vorgeschrieben.
    Best regards,
    Thorsten Franz

  • Class format error: Invalid constant pool tag found

    I am simply attempting to create an instance of an object and I get Class format error: Invalid constant pool tag found. Does anyone know what this means and how to fix it?
    Thanks.

    If you're compiling with J2SDK 1.4 or higher, you need to use "-target 1.1" on the javac command line.
    Also make sure you're not using any float constants such as 1.0 in your code.

  • JavaBean class invalid error

    Hello there,
    I am new to jsp development and am having problems using javabeans. I get a class invalid error. I have created a simple example that works fine without the useBean line (there Bean doesn't do anything in the example). I have looked over earlier posts in which others have discussed this same problem (http://onesearch.sun.com/search/clickthru?qt=useBean+invalid&url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D45%26threadID%3D567258&pathInfo=%2Fonesearch%2Findex.jsp&hitNum=1&col=developer-forums), but I none of the proposed fixes has worked for me. I hope that someone will see something that I'm missing. Below are the files that make up the example
    // userInput.jsp
      <html>
        <body>
          <h3>UserInput Form</h3>
          <form name="inputForm" action="userOutput02.jsp" method="post">
            <input type="text" name="userName">
            <input type="submit" name="submit" value="GO">
          </form>
        </body>
      </html>
    // userOutput02.jsp
      <jsp:useBean id="userInfo" scope="session" class="beans.User" />
      <html>
        <body>
          <h3>User Output</h3>
          Hello <%=request.getParameter("userName")%><br>
          <a href="userInput.jsp">Enter another name</a>
        </body>
      </html>
    // User.java
      package beans;
      public class User {
        protected String name;
        public User () {}
        public String getName () {
          return name;
        public void setName (String userName) {
          name = userName;
      }// Location of User.class
    <%webApplicationRoot%>/WEB-INF/classes/beans
    // Error Message when userOutput02.jsp is loaded
    org.apache.jasper.JasperException: /jsp/userOutput02.jsp(1,1) The value for the useBean class attribute beans.User is invalid.

    Well, I doubt this is your problem, since I don't see you trying to set anything, but the form field should really match your setter.
    If the setter is setName, the form field should be named "name" (though I'd switch everything to userName instead of name, myself, as name tends to be a reserved word in various applications and languages).
    Other than that, are you using Tomcat, weblogic, or...?

  • Class path Error urgent Plz

    Hi Guys,
    I was trying to write an WD application to check connector connectivity in EP, I have included these jar files in class path "com.sap.portal.ivs.connectorservice_api.jar" and "GenericConnector.jar".
    The codes are like
    IConnection connection = null;
    IConnectorService cs = (IConnectorService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
    IConnectorGatewayService cgs = cs.getIConnectorGatewayService();
    connection = cgs.getconnection(Alias,request)
    but as soon as I write this last line getconnection() I get error which is "Compilation unit indirectly references the missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService(typically some required class file is referencing a type outside the class path)"
    and this given below error comes when I build the project.
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath then try rebuilding this project."
    can any one please tell me how can I fix this problem.
    Thanks in advance
    Best Regards
    Yasir Noman
    Message was edited by: Yasir Noman

    Hi,
    I am facing the problem of class path errors.
    my error is :
    *Error:   Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.security2.0.0/lib/com.sap.security.api.jar'.*_
    And when I checkd on the program file \ lib folder there is .jar file.
    And the second error is
    Error:  The project was not built due to classpath errors (incomplete or involved in cycle).
    I tried to rebuild it and also repair it with project structure and classpath. so that it can find the missing libraries.
    I checked it out in the properties of the project in Java Build path it is showing an error of  build path entry is missing
    Please can anyone help on this error.
    I am stuck on this error for past a long time.
    Please Reply asap.

  • Class path error in connection to jdbc system

    Dear all,
    I m trying to create a jdbc conection to access the a system "jdbc" in the portal database.I have included four jar files namely
    Generic connector.jar
    Helper.jar
    Extended connector.jar
    com.sap.portal.ivs.connectionserviceapi.jar
    bt still i m getting a class path error.the error says
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService."
    Can anyone help me resolve this error.
    Regards
    Shaila

    Hi Shila,
    Actually Portal runs on Web Application server.The server does not know any details about R/3 system which you want to connect. for that first you have to configur Your J2ee Engine And than Proceed.
    for configuring J2ee Engine see ths notes.
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/93/8aea385252494d9b1eb92e0b7f1bad/content.htm">Notes</a>
    and go through thease links it will be full to you...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    http://help.sap.com/saphelp_nw04s/helpdata/en/5e/4d48b62fe54c23a8dbef364a289d8f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/93/8aea385252494d9b1eb92e0b7f1bad/frameset.htm
    Reward Points if Helpfull.
    Regards
    Vinit

  • 8iR3; EJB deploy; "Unable to read class bits" error

    Hi,
    I have a strange situation going on at the moment. Every time I wish to deploy an EJB to 8iR3, the JDeveloper Message View shows the following (after app specific messages):
    "Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs...............................................done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...
    Unable to read class bits from library/sqlhelper/sjb/SQLHelperOperations.class
    *** Errors occurred while deploying the EJB to 8i JVM ***
    *** Deployment completed ***
    If I then just redeploy without changing a thing, it deploys fine and everything works.
    I haven't seen a post on this forum like this, is there a configuration problem at my end?
    Cheers,
    Jono
    null

    I think it is due to the fact that I am writing a 'business interface' for my EJB, then including it in my deployment package.
    This technique is recommended in O'Reilly's 'Enterprise Java Beans' 2nd Edition p344 to ensure the bean interface and the bean match their signature.
    I don't get the 'class bits' error when I write EJB from the wizard, but when I add a business interface it happens first deploy, and is OK for the second one.
    Hope this helps anyone else who is getting this behaviour, I guess we'll have to see what happens in OC4J/Orion.

  • Assistance needed regarding a Class Definition Error:

    I've checked online tutorials, asked friends, tried other forums, IRC, online contacts, and NO ONE can help me at this. I've been stuck on it for hours, and I'm beyond the point of frustration, as I'm about 98% complete without this error. I get it when I try to access a file from the command prompt:
    Exception in thread "main" java.lang.NoClassDefFoundError: MiniTriangle
    Everyone tells me it's a Class Definition error. While this is good to know, no one seems to know how to fix it. So I'm here hoping someone knows an answer which could work for this. I sincerely thank you all for your help in advance!

    This will likely be nonsense, lol
    Well..I compiled it in Jcreator, 2 files packed together:
    package myprojects.minitriangle;
    The java files are in the C:\java directory, but they're separate from the compiler since I couldn't get there with the command prompt (Invalid folder name)

  • ORA-105100 Import Java Class (Not a class path error)

    i have a problem while using java imported class
    java class
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class externalCall{
    public static String Run(String One, String Two){
    String commandOutput = null;
    commandOutput = concat(One,Two);
    return commandOutput;
    public static String concat(String One, String Two){
    return One+Two;
    the problem is that when using externalCall.run from oracle forms it is generating
    error ORA-105100 err.
    This is not a class path error as we are able to access concat function of java
    class using Import Java Class.
    Any Clues?...
    Best Regards
    Ashish

    ORA-105101 when using Java Importer

Maybe you are looking for