Jan Swaelens created IVYDE-358:
----------------------------------

             Summary: Launching GWT application from Eclipse fails due to 
missing libraries
                 Key: IVYDE-358
                 URL: https://issues.apache.org/jira/browse/IVYDE-358
             Project: IvyDE
          Issue Type: Bug
          Components: classpath container, launch configuration
    Affects Versions: 2.2.0.final
            Reporter: Jan Swaelens
            Priority: Critical


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:

{code}
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)
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to