Menu

NoClassDefFoundError :org/apache/regexp/RE

Help
2003-01-27
2013-04-17
  • Michel Baily

    Michel Baily - 2003-01-27

    Hi,

    Trying to work with the lastest release (0.7) I get the following error when clicking on "New Enting" :

    java.lang.NoClassDefFoundError: org/apache/regexp/RE
    at com.robrohan.fangorn.Ent.buildXMLTools(Ent.java:285)
    at com.robrohan.fangorn.Fangorn$11.run(Fangorn.java:217)

    Do you have an idea on what I'm doing wrong ?

    Best regards,

    Michel

     
    • Rob

      Rob - 2003-01-27

      Hi Michel,
      You are missing the Regular Expression library. It
      sounds like you didn't use one of the installer
      versions.

      There are several version you can download (and little
      explanation - sorry about that)

      The ones that are OS specific (that end in _linux
      _macosx _windows) have all the libraries needed to run
      treebeard - also the one that says _java is a platform
      independent installer. The just_treebeard is for
      developers who want to forgo the download but know
      about all the libraries.

      Treebeard needs quite a few libraries to function
      correctly (you can see a list here
      http://sourceforge.net/project/shownotes.php?release_id=116790\)

      I recommend you try one of the installer versions (if
      you already did please let me know)

      Thanks,
      Rob

       
    • Anonymous

      Anonymous - 2003-02-06

      Same here.

      I wanted to give Treebeard a try and installed
      treebeard_v07_Linux.bin, run with:
      java -jar treebeard.jar and after creating new
      Enting I get the following:

      java.lang.NoClassDefFoundError: org/apache/regexp/RE
          at com.robrohan.fangorn.Ent.buildXMLTools(Ent.java:285)
          at com.robrohan.fangorn.Fangorn$11.run(Fangorn.java:217)

      Sincerely,
      Sasa

       
      • Rob

        Rob - 2003-02-06

        Same thing as the last post, you are missing the Regular expression library. Your gig is a bit different as you have it on the system, but you are not including it in your run command.

        Since you did use the installer, look in the Treebeard directory and run the .sh file in there that should have the command created correctly. Or if you want to run it from the command line like how you are trying you need to specify the classpaths to the Treebeard libs

        java -classpath /path/regexp.jar:  etc etc  -jar Treebeard.jar

        where etc etc is all the files in the install directory. But It's easier to just run the startup program that comes with treebeard.

        Cheers,
        Rob

         
    • Anonymous

      Anonymous - 2003-02-07

      Hi Rob!

      Thanks for the reply.

      I didn't realize that the link name is Fangorn :-(

      Now, eeverything is OK.

      Sincerely,
      Gour

       
    • Mark Whitis

      Mark Whitis - 2007-01-16

      cd /dist
      wget http://umn.dl.sourceforge.net/sourceforge/treebeard/treebeard_v090_linux.jar
      java -jar treebeard_v090_linux.jar
        # interactive install, made with izPack from http://www.izforge.com
        # install path: /usr/local/Treebeard
      # autoinstall script follows
      cat >/dev/null <<\...EOF...
      <AutomatedInstallation langpack="eng">
          <HelloPanel/>
          <InfoPanel/>
          <LicencePanel/>
          <TargetPanel>
              <installpath>/usr/local/Treebeard</installpath>
          </TargetPanel>
          <PacksPanel>
              <pack name="Main Program" index="0" selected="true"/>
              <pack name="Scripts" index="1" selected="true"/>
          </PacksPanel>
          <InstallPanel/>
          <FinishPanel/>
      </AutomatedInstallation>
      ...EOF...
      chmod +x /usr/local/Treebeard/treebeard.sh
      # Splat
      The datastore is read only.
      Couldn't start Ashpool: java.sql.SQLException: Could not open datastore: SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found
      java.sql.SQLException: Could not open datastore: SAX2 driver class org.apache.crimson.parser.XMLReaderImpl not found
              at com.rohanclan.ashpool.jdbc.Driver.connect(Driver.java:141)
              at java.sql.DriverManager.getConnection(DriverManager.java:549)
              at java.sql.DriverManager.getConnection(DriverManager.java:150)
              at com.robrohan.tools.AshpoolDB.startUp(Unknown Source)
              at com.robrohan.fangorn.Fangorn.<init>(Unknown Source)
              at com.robrohan.fangorn.Fangorn.main(Unknown Source)
      Exception in thread "main" java.lang.NullPointerException
              at com.robrohan.tools.AshpoolDB.executeQuery(Unknown Source)
              at com.robrohan.fangorn.Fangorn.<init>(Unknown Source)
              at com.robrohan.fangorn.Fangorn.main(Unknown Source)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.