Ok, I wasn't aware of any changes in the either of the examples. All I did was update the code to work with 1.1. I'll see if I can find the time to migrate the 6.x examples to 7 somewhere this week.
Best regards, Emond On Wednesday 05 February 2014 09:20:13 Martin Grigorov wrote: > Sorry, I wasn't very clear. > In the demo app of CDI in 6.x I see these links: > > - Injection > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket .exa > mples.cdi.InjectionPage> - Conversation Propagation > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket .exam > ples.cdi.ConversationPage1> - Automatic Conversation Management > Example<http://localhost:8080/cdi/wicket/bookmarkable/org.apache.wicket .exam > ples.cdi.AutoConversationPage1> > > In the one for 7.x: > > - Injection Example <http://localhost:8080/cdi/injection> > - Conversation Propagation > Example<http://localhost:8080/cdi/conversation> > > So there is something new in 6.x that is not ported to 7.x > > Martin Grigorov > Wicket Training and Consulting > > > On Tue, Feb 4, 2014 at 1:53 PM, Emond Papegaaij > > <[email protected]>wrote: > > These warnings are caused by a slightly outdated version of weld. The log- > > level for these warnings is changed from warn to debug in newer versions. > > I don't know what could explain the difference in size. Did you compare > > the > > contents? > > > > Emond > > > > On Monday 03 February 2014 17:43:19 Martin Grigorov wrote: > > > In Wicket 6.x Jetty is 7.x, so it is Servlet 2.5 > > > Wicket 7 requires Servlet 3, so it uses Jetty 8.x. > > > > > > Using StartExamples to run the examples locally doesn't fail with this. > > > I see many of these though: > > > > > > WARN - Bean - WELD-001533: An InjectionTarget is > > > created for a non-static inner class > > > org.apache.wicket.examples.cdi.ConversationPage1$1. It will not be > > > > possible > > > > > to produce instances of this type! > > > WARN - Bean - WELD-001533: An InjectionTarget is > > > created for a non-static inner class > > > org.apache.wicket.examples.cdi.ConversationPage1$2. It will not be > > > > possible > > > > > to produce instances of this type! > > > WARN - Bean - WELD-001533: An InjectionTarget is > > > created for a non-static inner class > > > org.apache.wicket.examples.cdi.AutoConversationPage1$1. It will not be > > > possible to produce instances of this type! > > > WARN - Bean - WELD-001533: An InjectionTarget is > > > created for a non-static inner class > > > org.apache.wicket.examples.cdi.AutoConversationPage1$2. It will not be > > > possible to produce instances of this type! > > > > > > I also see that the demo app for 6.x is newer/bigger than the one in > > > > master > > > > > branch. > > > @Emond ? > > > > > > Martin Grigorov > > > Wicket Training and Consulting > > > > > > > > > On Mon, Feb 3, 2014 at 5:20 PM, Martijn Dashorst > > > > <[email protected] > > > > > > wrote: > > > > > > > > Sounds like a too old jetty. javax.servlet.DispatcherType is > > > > JEE6/servlet > > > > > > 3 > > > > > > > > Martijn > > > > > > > > On Mon, Feb 3, 2014 at 5:12 PM, Sven Meier <[email protected]> > > > > wrote: > > > > > Hi all, > > > > > > > > > > I'm getting an exception when starting wicket-examples (wicket-6.x > > > > with > > > > > > > Jetty). > > > > > > > > > > Any ideas? > > > > > > > > > > Sven > > > > > > > > > > WARN - WebAppContext - Failed startup of context > > > > > o.e.j.w.WebAppContext{/,file:/home/sven/workspaces/wicket-6. > > > > > x/wicket/wicket-examples/src/main/webapp/},src/main/webapp > > > > > org.jboss.weld.exceptions.DeploymentException: > > > > > javax/servlet/DispatcherType > > > > > > > > > > at org.jboss.weld.executor.AbstractExecutorServices. > > > > > > > > > > checkForExceptions(AbstractExecutorServices.java:66) > > > > >
