Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-582

WebDAV interface broken. NoClassDefFoundError: org/jdom/input/DOMBuilder

    XMLWordPrintable

Details

    Description

      Current Situation

      • The YADE WebDAV interface uses the underlying webdavclient4j library.
        • The webdavclient4j library makes use of JDOM 1.1
        • The following error occurs:
          Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/input/DOMBuilder
              at org.apache.webdav.lib.BaseProperty.getPropertyAsString(BaseProperty.java:129)
          ....
          
      • This problem is due to the fact that JDOM has been removed from JobScheduler including YADE starting from release 1.13.10 with JS-1940.

      Desired Behavior

      • The webdavclient4j is replaced by a more modern implementation that works without reference to JDOM:
         

      Workaround

      • Download the JDOM 1.1 library from e.g. the maven repository - jdom-1.1.jar.
      • JobScheduler Controller/Master/Agent
        • Copy the jar file to the SCHEDULER_HOME/lib/patches directory.
        • Restart JobScheduler Controller/Master/Agent.
      • YADE Client
        • Copy the downloaded file jdom-1.1.jar to the <yade>/lib/3rd-party directory.

      Attachments

        Activity

          People

            re Robert Ehrlich
            re Robert Ehrlich
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: