Wicket has very good support in Weld, but to make it work I had to update
the weld-integration.jar, otherwise the sample Numberguess application is
looking for an unexisting method in the 1.0.0 Weld API : this is your

If you don't want to do it by hand like suggested by Iskandar, you can
download one of the Glassfish nightly builds, this is what I have done. The
latest builds are integrating Weld 1.0.1-final and the problem vanishes.

If you want, I can provide you the maven profile to make the sample work
nicely when you hit the "run" button in Netbeans, because there is another
problem with the samples : the maven profile is not including the slf4j
libraries, so there is an error in Glassfish when you run the sample. I
assume this may be your next problem :)

Also, you may run into trouble with the JPA2 code generation if you are
using maven. But if you are using Eclipse annotation preprocessor to
generate the metadata, you won't have the problem.


Reply via email to