Running from a JAR - classpath issue?

From: Peter Kirk (peter)
Date: 08/27/04


Date: 27 Aug 2004 12:52:49 +0200

Hi

I am trying to run "hibernate ide", which I downloaded from here:

http://www.hibernate.org/Documentation/Hibern8IDE

but I keep getting an error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/jgraph/JGraph

I assume this is a class path issue. But how do I set the classpath
correctly? Even if I put all the various jars from the download in the same
directory, and try for example:
set
CLASSPATH=.\velocity-1.3.1.jar;.\pf-joi-full.jar;.\jdom.jar;.\forms-1.0.3.ja
r;.\bsh-2.0b1.jar;.\hibernate-tools.jar;.\jgraph.jar;.\looks-1.1.3.jar;.
java -cp %CLASSPATH% -jar hibern8ide.jar

I still get the error...

Thanks for any pointers,
Peter



Relevant Pages

  • Re: Assembly conversion to Pocket Pc format
    ... except the error message "An error message ... I could download all other type of files as given in the below ... detailed information on the exception, but from the error it looks like CF ... Stream respStream = resp.GetResponseStream; ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Assembly conversion to Pocket Pc format
    ... This exception could be for many reasons. ... HttpWebResponse resp = req.GetResponse; ... Stream respStream = resp.GetResponseStream; ... upload and download files in compact framework. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Global Assembly Cache Issue
    ... This dll is references in each of my projects. ... > you can see in the Exception below). ... > configKey, SectionRecord section) ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to share VB code across multiple pages?
    ... Validation of viewstate MAC failed. ... Exception Details: System.Web.HttpException: Validation of viewstate ... Juan T. Llibre wrote: ... you can download the public 2.0 Beta versions here: ...
    (microsoft.public.dotnet.framework.aspnet)
  • File or assembly name System.Xml, or one of its dependencies, was not found?
    ... Exception Details: System.IO.FileNotFoundException: File or assembly name ... be identified using the exception stack trace below. ... No redirect found in host configuration file ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)