You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by meduolis <me...@gmail.com> on 2013/10/21 22:26:50 UTC

wicket-bootstrap NoSuchMethodError: Url.parse

Hello, does anybody knows, what I could be doing wrong with wicket-bootsrap
setup?

I keep getting this error when entering wicket application:







--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-bootstrap NoSuchMethodError: Url.parse

Posted by Paul BorČ™ <pa...@bors.ws>.
Must be your maven build and how it pulls that wicket-request artifact into your project.

I suggest you exclude it in your dependency declaration for the bootstrap version you use in your POM.

Have a great day,
    Paul Bors

> On Oct 22, 2013, at 10:36 AM, meduolis <me...@gmail.com> wrote:
> 
> Hi, Martin,
> 
> 
> As we can see wicket-request.jar is different version then other wicket
> modules. So, I have downloaded wicket-request.jar of 6.11.0 version manually
> and replaced it in application AND IT WORKED :).
> 
> So, I really do not know, why bootstrap download wrong version. Maybe I need
> to exclude wicket-request from bootstrap and add dependency of proper
> version myself?
> 
> 
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909p4661923.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-bootstrap NoSuchMethodError: Url.parse

Posted by meduolis <me...@gmail.com>.
Hi, Martin,


As we can see wicket-request.jar is different version then other wicket
modules. So, I have downloaded wicket-request.jar of 6.11.0 version manually
and replaced it in application AND IT WORKED :).

So, I really do not know, why bootstrap download wrong version. Maybe I need
to exclude wicket-request from bootstrap and add dependency of proper
version myself?



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909p4661923.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-bootstrap NoSuchMethodError: Url.parse

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Make sure you don't have another version of Wicket in the classpath.
Since you use Maven you can check with: mvn dependency:tree

The missing method is in Wicket 6.x:
https://github.com/apache/wicket/blob/master/wicket-request/src/main/java/org/apache/wicket/request/Url.java?source=c#L203



On Tue, Oct 22, 2013 at 6:57 AM, meduolis <me...@gmail.com> wrote:

> Wicket is 6.11.0
>
> Bootstrap:
>
> also tried this bootstrap version:
>
> The same exception with both of them. I install Bootstrap into application
> using those settings in init() method:
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909p4661912.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: wicket-bootstrap NoSuchMethodError: Url.parse

Posted by meduolis <me...@gmail.com>.
Wicket is 6.11.0

Bootstrap:

also tried this bootstrap version:

The same exception with both of them. I install Bootstrap into application
using those settings in init() method:




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909p4661912.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: wicket-bootstrap NoSuchMethodError: Url.parse

Posted by David Beer <da...@gmail.com>.
Hi

Which wicket-bootstrap version and how have you added wicket-bootstrap to
your application?

Thanks

David


On 21 October 2013 21:26, meduolis <me...@gmail.com> wrote:

> Hello, does anybody knows, what I could be doing wrong with wicket-bootsrap
> setup?
>
> I keep getting this error when entering wicket application:
>
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-NoSuchMethodError-Url-parse-tp4661909.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>