Java.lang.NoClassDefFoundError running session bean client program

hi
I am using weblogic 8.1 server, while i run the client program it throws following exception. i am using standalone server.
D:\Weblogicserver\user_projects\domains\mydomain\applications\statelessSession>a
nt run
Buildfile: build.xml
run:
[java] java.lang.NoClassDefFoundError: examples/ejb20/basic/statelessSessio
n/Client
[java] Exception in thread "main"
BUILD FAILED
file:D:/Weblogicserver/user_projects/domains/mydomain/applications/statelessSess
ion/build.xml:76: Java returned: 1
Plz guide me to rectify this exception.
bye
jaiganesh

Hi,
set the setWLSEnv in classpath and try again.
Regards
Anilkumar kari

Similar Messages

  • How to run Session ejb client program?

    Hi
    I am using weblogic server8.1 . I was running an ejb session client program it throws exception like below. Can any one tell me how to run a client in weblogic server. give the syntax for running ejb client.
    D:\Weblogicserver\user_projects\domains\mydomain\applications\MyEJB\stateful>jav
    a -cp .;c:\j2ee\j2ee.jar;c:\weblogic\classes;D:\Weblogicserver\weblogic81\server
    \lib\weblogic.jar PortfolioClient
    Exception in thread "main" java.lang.NoClassDefFoundError: PortfolioClient (wron
    g name: stateful/PortfolioClient)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    3)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    bye

    If stateful is the package for the client application, you should be executing from
    D:\Weblogicserver\user_projects\domains\mydomain\applications\MyEJB
    on the command line. The command should look like -
    java -classpath <whatever should be here> stateful.MyClient

  • Java.lang.NullPointerException in session bean

    Hi !
    I am trying to get a Entity bean through "LocalHome.findByPrimaryKey".I get an error:java.lang.NullPointerException.
    this is session bean:
    public class LoginBean implements javax.ejb.SessionBean {
    private javax.ejb.SessionContext mySessionCtx;
    public UsersLocal usersBean = null;
    public List list_app = null,list_userapp = null,list_userappmd = null;
    public List list_userapppg = null,list_rol = null,list_rolapp = null;
    public UsersLocalHome usersLocalHome = null;
    public Hashtable getUsersLocal(String id){
    Hashtable usersLocal = null;
    UsersLocal usersLocaltmp = null;
    UsersKey primarykey = new UsersKey(id);
    System.out.println("id="+id);
    System.out.println("primarykey="+primarykey.toString());
    try {
    InitialContext initialContext = new InitialContext();
    usersLocalHome = (UsersLocalHome)initialContext.lookup("local:ejb/ejb/pingtai/UsersLocalHome");
    System.out.println("usersLocalHome="+usersLocalHome);
    try {
    usersLocaltmp = usersLocalHome.findByPrimaryKey(primarykey);
    usersLocal.put("id",id);
    usersLocal.put("mm",usersLocaltmp.getMm());
    } catch (FinderException e1) {
    } catch (NamingException e) {
    e.printStackTrace();
    System.out.println(usersLocal.get("mm"));
    return usersLocal;
    Thanks!

    Hi aniseed !
    The occurring at "usersLocaltmp =
    usersLocalHome.findByPrimaryKey(primarykey);"I would guess that your lookup for the local home is returning null. Did you check that?
    If that is the case, you might want to check your JNDI URL.

  • Java.lang.NoClassDefFoundError: org/apache/axis/client/Service

    Hi,
    I am developing a WebService Client and for that i am using the Apache axis client. but when i am trying to instnatiate the org.apache.axis.client.Service class it says a NoClassDefinition Found error.
    Can anyone tell me the reason for this? Is there any settings for axis client in the Portal-App.xml or any other place?
    Thanks
    Kiran

    Have you included all the Axis client jars in your /dist/PORTAL-INF/lib folder and added them to to .classpath?
    axis.jar , commons-discovery.jar , commons-logging.jar , crimson.jar , jaxp.jar , jaxrpc.jar , log4j.jar , saaj.jar , wsdl4j.jar , xalan.jar , xerces.jar .

  • Error 'java.lang.NoClassDefFoundError: rn exception in thread 'main'

    I have been trying to install Full ABAP Edition-trial version of SAP Netweaver 04s on Windows XP professional SP2. I am getting the error 'java.lang.NoClassDefFoundError: run exception in thread 'main' while trying to execute 'setup.exe' in the image folder.
    i have installed 'j2sdk-1_4_2_09' on the system. still i am getting the same error. can somebody help me.
    I reinstalled the operationg system still the problem persisits.
    Thanks!

    I solved this problem by reinstalling the operating system.
    after this, I tried to start SAP MMC, it gave another error user id and password not valid.
    To avoid this problem make sure that password for administrator of the Operation system (PC or Laptop) should match the password for SAP MMC.

  • Java/lang/NoClassDefFoundError when trying to run my program in Eclipse

    I have a problem when using Eclipse. I can compile my classes in Eclipse without problems, but when I try to run the main class I get the following error message:
    Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object
    I have the same classpath setup when compiling and running the program. I am using JDK 1.3.1 and also have no problem running the program using javaw from a command prompt.
    Please answer if you have encountered this problem or have any idea what the problem might be.

    I start Eclipse using the exe file eclipse.exe with no special arguments.
    I use a JRE installed in e:\jdk1.3.1_01 so on the JRE page in the launch dialog box I have added a JRE with e:\jdk1.3.1_01\jre as the JRE home directory. This means that the JRE system library contain e:\jdk1.3.1_01\jre\lib\rt.jar. On the classpath page this JAR file is also listed as well as some other JAR files I use in my project.

  • Why i get error msg when i run my program? (java.lang.NoClassDefFoundError)

    i have compile and run my program. First time the program can run. But after that when i run, come out error messege as below:
    java.lang.NoClassDefFoundError: FormPoster (wrong name: search/FormPoster)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    Exception in thread "main"
    what can i do? thank very much

    Hello,
    i have compile and run my program. First time theprogram can run.
    But after that when i run, come out error messegeas below:
    java.lang.NoClassDefFoundError: FormPoster (wrongname: search/FormPoster)
    Check your FormPoster class: the classname has to be
    the same as
    the file name and the class should be stored in its
    correct directory
    (the sub directory structure should reflect the
    package name).
    kind regards,
    JosYou should also check your clsspath if you are using packages.

  • Java.lang.NoClassDefFoundError: HelloWorld when running SQLJ program

    i can compile the program but i can't run it. when i try to run ( java HelloWorld) it gives java.lang.NoClassDefFoundError: HelloWorld error message. i have set the classpath, path and oracle_home accordingly to the oracle SQLJ documentation. i'm using win2000 and j2sdk 1.4.0. please help.
    this is my sqlj's code:
    import java.sql.Date;
    import java.sql.SQLException;
    import oracle.sqlj.runtime.Oracle;
    public class HelloWorld
         public static void main(String [] args)
              java.sql.Date current_date;
              try
                   Oracle.connect(
                        "jdbc:oracle:thin:nicole:1521:kwanyee",
                        "y2net",
                        "y90583008"
                   #sql { SELECT sysdate INTO :current_date FROM dual };
                   System.out.println( "Hello" + current_date);
              catch (SQLException e)
                   System.err.println("SQLException " + e);
              finally
                   try
                        Oracle.close();
                   catch (SQLException e)
                        System.err.println("SQLException " + e);
    }

    I am not too sure about sqlj ...if this suggestion doesn't work I can show you the statndard 'java' way to connect to Oracle. But try this, you probably need to add the oracle drivers to your classpath. Look for a file named classes12.zip ...and add that to the classpath settings like this (on my box):
    @SET CLASSPATH=%CLASSPATH%;G:\ORACLE\ORA81\JDBC\LIB\classes12.zip

  • Can't Run Java Programs -- java.lang.NoClassDefFoundError Error

    I am running 10.4.11. For some reason I can no longer run Java programs. (I could in the past)
    For example. I create a simple Hello World program as follows and save it as Hello.java:
    class HelloWorld
    public static void main (String args[])
    System.out.println("Hello, world!");
    Then I compile it:
    Javac Hello.java
    Then I try to run it:
    java Hello
    But I get this error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Hello
    I think it must be a CLASSPATH problem but normally you do not need to worry about ClassPATH. Apple sets it up for you out of the box.
    What is wrong?

    I totally forgot that the class name should be the same as the filename.
    After I renamed the file to HelloWorld.java and recompiled, I could run "java HelloWorld"
    Rob

  • Simple program wont run  java.lang.NoClassDefFoundError

    Exception in thread "main" java.lang.NoClassDefFoundError: Server (wrong name: Simple_Server/Server)
    i am new to java and i made this simple script to accept connections then pass them on to HandleClient.
    but when i run it i get this output
    Exception in thread "main" java.lang.NoClassDefFoundError: Server (wrong name: Simple_Server/Server)
            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$000(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)here is the source code
    package SMTP_Server;
    import java.io.*;
    import java.net.*;
    public class Server {
        ServerSocket serverSocket = null;
        boolean listening = true;
        public Server(){
         System.out.println("New Server Created");
        public void main(String[] args) {
            try {
                this.serverSocket = new ServerSocket(4444);
            } catch (IOException e) {
                System.err.println("Could not listen on port: 4444.");
                System.exit(1);
         while(listening){
             try{
              new HandleClient(this.serverSocket.accept()).start();
             } catch (IOException e) {
              System.err.println("Caught IOException: " + e.getMessage());
    }I thought it might be that main() is not static but it wont work if make it static because it cannot access the listening or serverSocket fields
    Thanks for all the help
    Scott.

    The directory hierarchy of your .class files must mirror the package hierarchy of your classes.
    So if you've got a class "Foo" in a package "p1" (i.e. a class with the fully qualified name of "p1.Foo") and a clas "Bar" in a package "p2" (i.e. a class with the fully qualified name of "p2.Bar"), then you need a file hierarchy such as this:
    p1/Foo.class
    p2/Bar.classAnd the directory in your classpath needs to be the directory that contains p1 and p2.
    So what you need to do is go to a directory that contains a directory called "Simple_Server" (your source file mentions SMTP_Server, but I assume you changed it at some point).
    That directory Simple_Server must contain a file called Server.class.
    Then execute "java Simple_Server.Server".
    Also please follow common naming conventions, as your code will become harder to understand if you don't. An important rule in those conventions is that package names should be in all-lowercase and not contain any non-letter characters if possible (i.e. use "smtpserver" instead of "SMTP_Server").

  • Java.lang.NoClassDefFoundError when running the Junit method

    Hi Friends
    I am stuck in this typical Junit problem for a copule of days but still not able to find any solution for it.The problem is as below.
    I have written Junit test case for 1 method that has been added in the session bean. the code is as below.
    public void testfindResponses() {
                   ClientManager cMgr = null;
                   Collection retvalue= new ArrayList();
                   try {
                   System.out.println("Before");
                   cMgr = EJBHomeUtilities.getClientManagerHome().create();
                   System.out.println("After" + cMgr.toString());
              //     retvalue=cMgr.findSurveyResponses(clientPk,startTime,endTime);
                   }catch (RemoteException e) {
                   //logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } catch (CreateException e) {
                   // logger.error(e.getMessage());
                   throw new EJBException(e.getMessage());
                   } finally {
                   EJBHomeUtilities.removeSessionBean(cMgr);
              //return retvalue;
    when i run this using the Junit consol;e on the eclipse i am getting
    java.lang.NoClassDefFoundError
         at sun.reflect.GeneratedSerializationConstructorAccessor35.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:869)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
         at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:120)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.java:37)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy0.create(Unknown Source)
         at com.march.hth.test.client.ClientManagerBeanTest.testfindSurveyResponses(ClientManagerBeanTest.java:3918)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    The remote reference that i get seems to not work atall.i tried to put debug statements to see if i am getting the remote reference,but the control seems to not go there itself.
    The same method if i write for another session bean it is working fine without any errors.
    Please let me know whats wrong here as i am stuck up with this issue for a long time .waiting for positive replies from your side.
    Thanks & Regards
    Vikram K

    I also came across this error . . . the exception message seemed to indicate a problem in the HTML file. In mine, I had the HEIGHT and WIDTH attributes set to 100% -- something that is nonsensical outside of a browser context. I changed those values to some number of pixels (800 and 600, say), and the exception did not reoccur. I suggest you try the same.
    --john                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • "java.lang.NoClassDefFoundError" error while run t-code SXMB_IFR in XI

    Hi
    When I am trying to run t-code <b>SXMB_IFR</b> in Xi it give me below error.
    <b>Exception Details
    Exception class: java.lang.NoClassDefFoundError
    Message
    java.lang.NoClassDefFoundError
    Stacktrace
    Thrown:
    java.lang.NoClassDefFoundError: null
         at com.sap.aii.ibrep.server.transport.api.RepTransportServiceStartup.startupIbrepTransportServices(RepTransportServiceStartup.java:22)
         at com.sap.aii.ibrep.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:426)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:374)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:201)
         at jsp_Main1172666584171._jspService(jsp_Main1172666584171.java:21)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:467)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:181)
         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)</b>
    Reg,
    Hiren Patel

    Hi Hiren,
       Check these threads:
    Problem starting SXMB_IFR and J2EE Engine
    java.lang.NoClassDefFoundError
    Regards,
    Subhasha Ranjan

  • Exception in thread "main" java.lang.noclassdeffounderror: client

    Hey, I just download a game and it's java based but when I try to run it run it just opens a cmd and tells me this:
    exception in thread "main" java.lang.noclassdeffounderror: client
    Caused by: java.lang.noclassdeffounderror: client ...
    And some other things ... at the end of every caused problem ther is a (Unknown Source).
    At the end it says: Could not find the main class: client. Program will exit.
    I know, maybe this isnt the right topic, but please help me !!
    And I'm not the best PC programmer but I know the basics :S

    This is a support forum for programming Java, not for any and all Java-based software.
    Your best bet is to contact the author of the software.
    How did you try to run the program?

  • 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.

  • Java.lang.NoClassDefFoundError: Login: com/sun/gi/comm/users/client/JMEClie

    I am getting this error when i am ruunning my j2me program in eclipse 3.2 >>>>
    The default color phone emulator og the j2me disappear after launching...
    Can anybody please tell whats the problem?
    <Error code>
    java.lang.NoClassDefFoundError: Login: com/sun/gi/comm/users/client/JMEClientListenerInterface
    at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
    at com.sun.midp.midlet.Scheduler.schedule(+52)
    at com.sun.midp.main.Main.runLocalClass(+28)
    at com.sun.midp.main.Main.main(+116

    When i executing J2ME program m getting the error
    java.lang.NoClassDefFoundError: com/sun/midp/midlet/MIDletState
    Exception in thread "main"
    Can anyone plz help in this

Maybe you are looking for

  • XML Spy Error while testing the SOAP request

    Hi, I have generated a webservice from an XI scenario, I am trying to test the webservice through XML Spy. I am getting the following error when I am sending the SOAP request. Where do we specify the authentication information (user/pwd) in XML Spy.

  • Adding leading zeroes (PADDING in SQL Server)

    Hi to everyone, Is there a function to add leading zeros to int converted to varchar? I have 5, need to get varchar(5) = 00005.. I hate to do like left('00000',5-len(Int))+cast(Int as varchar) I know in Oracle there is PAD, what about SQL Server? Tha

  • Bug when deleting anchor points

    I think I discovered a bug. Say this is a line with anchor points: x---x---x---x---x---x---x And this is what I want to achieve using the Delete Anchor Point Tool: x-----------x-----------x Then this is as far as I'm actually able to get: x-------x--

  • DB13 backup on usb drive.

    Hello gurus,      I want to backup my database to my External USB HDD mapped on my PRD server, through DB 13. The database I am using is MS SQL 2005 and OS Windows 2003. Please tell me about the steps involved to do the same Thanks and Regards, Rahul

  • My iPhone 4s will not sync with iTunes. Help?

    I'm trying to sync my iPhone 4s with iTunes but keep being told that I have to install a later version of iTunes. I've done this several times installing 10.6.3 through www.itunes.com as well as through iTunes - Check for Updates but have had no luck