Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-358

Launching GWT application from Eclipse fails due to missing libraries

    XMLWordPrintableJSON

Details

    Description

      We have a GWT project in Eclipse (Kepler) which uses Eclipse GWT plugin (latest v3.4.2) and Ivy IDE (2.2.0 final) enabled on the project.

      The setup works fine during compilation and regular editing but the application fails to function. When starting the application using a run configuration it yields the following error:

      Caused by: java.lang.ClassNotFoundException: org.slf4j.MDC
      	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 com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload$WebAppClassLoaderExtension.findClass(JettyLauncher.java:372)
      	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:366)
      	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:337)
      

      The 'slf4j-api' dependency is correctly defined and the code also compiles in the IDE at the point where it is giving this error.

      Can I assume that this is an IvyIDE bug or could it be a GWT Eclipse plugin bug?

      We are really keen to get this working as it's a showcase to start using Ivy throughout our company.

      If there is anything I can do don't hesitate to ask!

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jan.swaelens Jan Swaelens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: