You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/04/17 14:16:16 UTC

[jira] [Created] (WICKET-5562) Make it possible to start wicket-examples with 'mvn jetty:run' again

Martin Grigorov created WICKET-5562:
---------------------------------------

             Summary: Make it possible to start wicket-examples with 'mvn jetty:run' again
                 Key: WICKET-5562
                 URL: https://issues.apache.org/jira/browse/WICKET-5562
             Project: Wicket
          Issue Type: Bug
          Components: wicket-examples
    Affects Versions: 6.14.0
            Reporter: Martin Grigorov
            Assignee: Emond Papegaaij


Since some months it is not possible to run the examples with 'mvn jetty:run' because of some CDI related issues.

I'd be thankful if this can be fixed because it really slows me down when validating a release.

The exception is:

2014-04-17 15:11:54.481:WARN:oejuc.AbstractLifeCycle:FAILED org.mortbay.jetty.plugin.JettyServer@7cc8e407: java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select(Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature
java.lang.LinkageError: loader constraint violation: when resolving overridden method "org.jboss.weld.Weld.select(Ljavax/enterprise/util/TypeLiteral;[Ljava/lang/annotation/Annotation;)Ljavax/enterprise/inject/Instance;" the class loader (instance of org/eclipse/jetty/webapp/WebAppClassLoader) of the current class, org/jboss/weld/Weld, and its superclass loader (instance of org/codehaus/plexus/classworlds/realm/ClassRealm), have different Class objects for the type tion/Annotation;)Ljavax/enterprise/inject/Instance; used in the signature
	at org.jboss.weld.servlet.StaticWeldProvider$WeldSingleton.<clinit>(StaticWeldProvider.java:29)
	at org.jboss.weld.servlet.StaticWeldProvider.getCDI(StaticWeldProvider.java:49)
	at javax.enterprise.inject.spi.CDI.current(CDI.java:60)
	at org.jboss.weld.servlet.WeldInitialListener.contextInitialized(WeldInitialListener.java:85)
	at org.jboss.weld.servlet.api.helpers.ForwardingServletListener.contextInitialized(ForwardingServletListener.java:34)
	at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:171)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:733)
...



--
This message was sent by Atlassian JIRA
(v6.2#6252)