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

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

     [ https://issues.apache.org/jira/browse/WICKET-5562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij updated WICKET-5562:
------------------------------------

    Assignee: Martin Grigorov  (was: Emond Papegaaij)

I'm unable to reproduce your exception. I do get an exception during startup, but this does not prevent the server from starting and everything works fine. This seems to be caused by a classloading problem in the maven classloader. I'm on maven 3.0.4.

> 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: Martin Grigorov
>
> 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)