4 Replies Latest reply on May 25, 2012 7:59 AM by Darren Jones

    Cannot Start AS7.1.1 server with a space in path using JBoss Tools

    Darren Jones Newbie



      I have a 7.1.1 server installed in "F:\My Servers\jboss-as-7.1.1.Final" (note the space in the path).


      It starts just fine using the standalone.bat file within that folder. But if I try to start the server from within Eclipse using JBoss Tools (3.3.0 Beta 3), I get this error in the console:


      java.lang.NoClassDefFoundError: F:/My

      Caused by: java.lang.ClassNotFoundException: F:.My

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

      Exception in thread "main"


      Is this a bug?