I was able to start your test app in Glassfish4 without changes.

For Tomcat I added
                 <dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-core</artifactId>
<version>2.1.2.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.weld.servlet</groupId>
<artifactId>weld-servlet-core</artifactId>
<version>2.1.2.Final</version>
</dependency>
to the pom.

I then added
<listener>
<!-- initialize Weld in servlet environment -->
<listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
</listener>

to web.xml

The homepage then loaded fine as well.  If you look in wicket-examples you
can find these CDI related additions to the pom.xml and the web.xml.

Hope this helps

John Sarman




On Fri, Oct 24, 2014 at 4:12 AM, Sebastien <[email protected]> wrote:

> Hi Martin,
>
> On Thu, Oct 23, 2014 at 8:27 PM, Martin Grigorov <[email protected]>
> wrote:
>
> > Ticket please.
> > With quickstart will be processed sooner ;-)
> >
>
> Fair :)
> https://issues.apache.org/jira/browse/WICKET-5733
>
> Best regards,
> Sebastien.
>

Reply via email to