I'm trying to use wicket-cdi with Glassfish 4.0 and get the following
exceptions.
Should wicket-cdi work with soon-to-be-released Java EE 7 / CDI 1.1 ?
2013-06-10 17:12:34,351 [http-listener-2(2)] DEBUG
o.apache.wicket.MarkupContainer - Add markupHighlight to [Page class =
you cannot inject non-static classes...
class org.apache.wicket.markup.html.pages.ExceptionErrorPage$1 cannot
be a non-static inner class
-igor
On Mon, Jun 10, 2013 at 8:32 AM, Phill gilberth...@gmail.com wrote:
I'm trying to use wicket-cdi with Glassfish 4.0 and get the following
exceptions.
I'm not injecting anything yet, it seems to be triggered by the
inclusion of the DebugBar on my page. If I remove the DebugBar it works
fine.
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-70
Simple bean [EnhancedAnnotatedTypeImpl] class
As far as I see the problem is caused by IComponentInstantiationListener
provided by wicket-cdi:
org.apache.wicket.cdi.NonContextualManager.inject(
NonContextualManager.java:54)
~[wicket-cdi-6.9.0-SNAPSHOT.jar:6.9.0-SNAPSHOT]
at