Showing posts with label wicket. Show all posts
Showing posts with label wicket. Show all posts

Jan 6, 2011

java.lang.ClassNotFoundException: javassist.util.proxy.MethodFilter

I got this error while using maven, jetty, wicket, spring and hibernate all with annotations.
Found two solutions
1) Get the java assist jar using maven, but them i got into some other problems.

2) Use this :

 <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxrs</artifactId>
  </dependency>
It seems that it solved the issue since the jaxrs contains this method filter.

If you know other or better solution, i am here to listen.

Hoped it helped,
Dor

Jan 4, 2011

addComponentInstantiationListener in wicket 1.5

Hi,

In 1.4 we could do this :  addComponentInstantiationListener(springInjector);

The only solution that i found in 1.5 M3 is calling the super and doing this like:
  super.getComponentInstantiationListeners().add(springInjector);

Maybe in later versions it will be more easy.

Wicket in Action