You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Korbinian Bachl - privat <ko...@whiskyworld.de> on 2008/07/06 20:20:18 UTC

Swarm + Wicket 1.4m2

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

Re: Swarm + Wicket 1.4m2

Posted by Guðmundur Bjarni Ólafsson <gu...@gmail.com>.
Hi,


There is a Wicket-Security 1.4-SNAPSHOT in the Maven Repository which AFAIK
should work.


regards,
Guðmundur Bjarni


On Tue, Oct 21, 2008 at 3:19 AM, claym <cl...@pfd.net> wrote:

>
> I'm also having this problem - did you ever fix it?
>
> I'm running 1.3-SNAPSHOT with Wicket 1.4m3
>
> Thanks
> -Clay
>
>
> Korbinian Bachl - privat wrote:
> >
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Swarm-%2B-Wicket-1.4m2-tp18304950p20081837.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: Swarm + Wicket 1.4m2

Posted by Igor Vaynberg <ig...@gmail.com>.
cant run something compiled against wicket-1.3 with wicket-1.4

-igor

On Mon, Oct 20, 2008 at 6:19 PM, claym <cl...@pfd.net> wrote:

>
> I'm also having this problem - did you ever fix it?
>
> I'm running 1.3-SNAPSHOT with Wicket 1.4m3
>
> Thanks
> -Clay
>
>
> Korbinian Bachl - privat wrote:
> >
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Swarm-%2B-Wicket-1.4m2-tp18304950p20081837.html
> Sent from the Wicket - Dev mailing list archive at Nabble.com.
>
>

Re: Swarm + Wicket 1.4m2

Posted by claym <cl...@pfd.net>.
I'm also having this problem - did you ever fix it?

I'm running 1.3-SNAPSHOT with Wicket 1.4m3

Thanks
-Clay


Korbinian Bachl - privat wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Swarm-%2B-Wicket-1.4m2-tp18304950p20081837.html
Sent from the Wicket - Dev mailing list archive at Nabble.com.