Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2011
    Rep Power

    Default Exception in thread "main" java.lang.NoClassDefFoundError:

    Hi All,

    I am running my java class from the jar file. Details are below.

    My jar file name is upd_configengine.jar, as attached below:

    I am running my jar file from the cmd prompt, as below:

    C:\Temp>java com.emc.upd.configengine.UPDTableGenerator
    My Classpath in the environment variable is as below:

    C:\Program Files\Documentum\dctm.jar;C:\Documentum\config;C:\ Program Files\Documentum\Shared;C:\Documentum\dba\java_met hods;C:\Documentum\product\5.3\dctm-server.jar;C:\Program Files\Documentum\tcf\config;C:\Program Files\Documentum\tcf\lib\tcf-engine.jar;C:\Documentum\dba\java_methods\bpsinteg ration.jar

    My Path in the environment variable is as below:

    C:\Program Files\Documentum\Shared;C:\j2sdk1.5.0_06\bin;C:\Pr ogram Files\Legato\nsr\bin;C:\Program Files\Documentum\jdk\142_04\bin;C:\Documentum\Conf ig;C:\Documentum\product\5.3\bin;C:\Documentum\ful ltext\fast40;C:\Documentum\product\5.3\fusion;C:\D ocumentum\product\5.2\fusion;D:\oracle\product\10. 2.0\client_1\bin;C:\Program Files\Support Tools\;%SystemRoot%\system32;%SystemRoot%;%SystemR oot%\System32\Wbem;;C:\Program Files\NetIQ\Common\bin

    When I am running the jar file, I am getting the below error:

    Exception in thread "main" java.lang.NoClassDefFoundError: com/emc/upd/configeng

    Kindly help me.
    Attached Files Attached Files

  2. #2
    milovan is offline Senior Member
    Join Date
    Jan 2011
    Belgrade, Serbia
    Rep Power


    java -jar yourJarFile.jar
    Last edited by milovan; 03-15-2011 at 07:06 PM.

Similar Threads

  1. Replies: 4
    Last Post: 07-11-2010, 11:38 AM
  2. Replies: 5
    Last Post: 06-02-2010, 01:05 PM
  3. Replies: 3
    Last Post: 06-01-2010, 03:01 PM
  4. Replies: 1
    Last Post: 04-02-2009, 09:50 PM
  5. Replies: 6
    Last Post: 08-18-2008, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts