Hello,

I just spend some time to change my app (on wicket 1.4) to use the SWARM implementation of WASP.

However, it seems that WASP 1.3.0 as well as the current 1.3-Snapshot (1.3.1) wont work with 1.4; The error is nearly allways the same:


1.3.1:
"
java.lang.NoSuchMethodError: org.apache.wicket.MetaDataKey.<init>(Ljava/lang/Class;)V
        
org.apache.wicket.security.log.AuthorizationErrorKey.<init>(AuthorizationErrorKey.java:41)
        
org.apache.wicket.security.strategies.WaspAuthorizationStrategy.<clinit>(WaspAuthorizationStrategy.java:57)
        
org.apache.wicket.security.swarm.strategies.SwarmStrategyFactory.newStrategy(SwarmStrategyFactory.java:80)
        org.apache.wicket.security.WaspSession.<init>(WaspSession.java:48)
        
org.apache.wicket.security.WaspWebApplication.newSession(WaspWebApplication.java:71)
        org.apache.wicket.Session.findOrCreate(Session.java:231)
        org.apache.wicket.Session.findOrCreate(Session.java:214)
        org.apache.wicket.Session.get(Session.java:253)
        org.apache.wicket.RequestCycle.getSession(RequestCycle.java:436)
        
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveHomePageTarget(AbstractRequestCycleProcessor.java:315)
        
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:159)
        org.apache.wicket.RequestCycle.step(RequestCycle.java:1246)
        org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366)
        org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
        
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
        
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)

"

and 1.3.0:

"
java.lang.NoSuchMethodError: org.apache.wicket.MetaDataKey.<init>(Ljava/lang/Class;)V
        org.apache.wicket.security.checks.WaspKey.<init>(WaspKey.java:41)
        
org.apache.wicket.security.components.SecureComponentHelper.getSecurityCheck(SecureComponentHelper.java:55)
        
org.apache.wicket.security.strategies.WaspAuthorizationStrategy.getSecurityCheck(WaspAuthorizationStrategy.java:185)
        
org.apache.wicket.security.strategies.WaspAuthorizationStrategy.isActionAuthorized(WaspAuthorizationStrategy.java:159)
        org.apache.wicket.Component.isActionAuthorized(Component.java:1983)
        org.apache.wicket.Page.renderPage(Page.java:855)
        
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:241)
        
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
        
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1194)
        org.apache.wicket.RequestCycle.step(RequestCycle.java:1265)
        org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366)
        org.apache.wicket.RequestCycle.request(RequestCycle.java:499)
        
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:387)
        
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:199)

"

Is there any workaround Maurice?

Best,

Korbinian

Reply via email to