1 Reply Latest reply on Nov 18, 2011 6:38 AM by Ales Justin

    Weld 1.1 with Java 5

    Vladimir Kovalyuk Apprentice

      Is Weld 1.1 supposed to work with Java 5?


      I'm getting the exception:


      java.lang.NoClassDefFoundError: java/util/ServiceLoader
           at org.jboss.weld.environment.servlet.Listener.findContainer(Listener.java:199)
           at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:156)
           at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
           at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
           at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
           at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
           at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)