Jetty
  1. Jetty
  2. JETTY-1439

Space in path causes java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.5.0, 8.0.0
    • Fix Version/s: 7.5.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win 7 64Bit, Jetty 7.5 and 8.0
    • Number of attachments :
      0

      Description

      When running Jetty in a path that has a space I get this error:
      java.lang.ClassNotFoundException: org.eclipse.jetty.xml.XmlConfiguration
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at org.eclipse.jetty.start.Main.invokeMain(Main.java:438)
      at org.eclipse.jetty.start.Main.start(Main.java:612)
      at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      at org.eclipse.jetty.start.Main.main(Main.java:79)
      ClassNotFound: org.eclipse.jetty.xml.XmlConfiguration

      Usage: java -jar start.jar [options] [properties] [configs]
      java -jar start.jar --help # for more information

      This issue was fixed long ago and does not exist in Jetty 7.4.2 but exists in 7.5 and 8.0.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jan Bartel
            Reporter:
            Henry Zaccak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: