#3 Fail to start

closed
Richard
None
5
2001-01-13
2001-01-11
Anonymous
No

Exception in thread "main" java.lang.NoClassDefFoundError: org/knowledgemanager/client/twodview/Display

Discussion

  • Richard
    Richard
    2001-01-11

    more infos please (at least, which release and how you did start the program)

     
  • Richard
    Richard
    2001-01-11

    • assigned_to: nobody --> sundance
     
  • I'm having same problem. I downloaded
    "mak-1.03release.tar.gz". Actually, I
    downloaded several different versions.

    Started up with "sh startMainView.sh".

    My impression is that the "org/" subdirectory
    is missing from most of the releases.

    thanks,

    -Henry

     
  • Richard
    Richard
    2001-01-11

    In the new release the startMainView.sh contains the library
    mak.jar
    in the classpath.
    In the mak.jar there should be the whole org hierarchy.

     
  • Maybe because I'm running java 1.2, but
    putting the classpath option on the
    java command line seems to solve the
    problem.

    java -Dmak=. -classpath lib/mak.jar:lib/xerces.jar:lib/log4j-full.jar org.knowledgemanager.client.twodview.Display

     
  • Richard
    Richard
    2001-01-13

    • status: open --> closed
     
  • Richard
    Richard
    2001-01-13

    OK, closed status:
    The mak.jar must be in the classpath. I'll recheck the scripts before the next
    release.

    Richi

     
  • Well, I finally have some time to work on the project. I noticed that when I started the project I get: Exception in thread "main" java.lang.NoClassDefFoundError: org/knowledgemanager/client/twodview/Display.

    I'm running Visual Cafe 4.1 and I even tried typing java -Dmak=. -classpath lib/mak.jar:lib/xerces.jar:lib/log4j-full.jar org.knowledgemanager.client.twodview.Display at the command line. It apparently doesn't want to work. I'm on a win9x machine.

     
  • Richard
    Richard
    2001-01-16

    under windows, you'd probably write a
    ";" instead of a ":" which is the unix way.
    (refering to the -classpath option)
    Sunny