Re: Migrating to 8.5

2019-08-19 Thread Sven Bursch-Osewold
Hi

Thanks to all, it works now ;-)

Checking the dependency tree, I found that pingunaut/wicket-chartjs used
wicket 7.x.

I recompiled wicket-chartjs against wicket 8.x and everything works now.

Great Support.


Gruß,
 Sven

Am 19.08.19 um 12:48 schrieb Bas Gooren:
> Hi!
> 
> It sounds like you are not referencing the correct wicket-request
> dependency.
> 
> Did you check your maven dependency tree to ensure there are no old (or
> duplicate/multiple) versions of wicket dependencies being resolved?
> 
> Met vriendelijke groet,
> Kind regards,
> 
> Bas Gooren
> 
> Op 19 augustus 2019 bij 12:44:24, sb_apa...@bursch.com (sb_apa...@bursch.com)
> schreef:
> 
> Hi
> 
> I'm trying to migrate my project from 7.x to 8.5. I created a new
> pom.xml using your Quick Start Wizard, checked the old dependencies for
> new versions, inserted the dependencies to the new pom.xml and fixed the
> compile errors.
> 
> But deploying the war-file to tomcat 8, I'm receiving the following error:
> 
> java.lang.NoSuchMethodError:
> org.apache.wicket.request.mapper.ParentPathReferenceRewriter.(Lorg/apache/wicket/request/IRequestMapper;Ljava/util/function/Supplier;)V
> 
> 
> 
> I would be grateful for any tip on where the mistake might be or to
> debug this problem.
> 
> Kind Regards,
> Sven
> 
> (full Errormessage attached)
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


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



Re: Migrating to 8.5

2019-08-19 Thread Martin Grigorov
On Mon, Aug 19, 2019 at 1:48 PM Bas Gooren  wrote:

> Hi!
>
> It sounds like you are not referencing the correct wicket-request
> dependency.
>
> Did you check your maven dependency tree to ensure there are no old (or
> duplicate/multiple) versions of wicket dependencies being resolved?
>

Indeed, this looks like you have an older version of wicket-request.jar in
your classpath.
https://github.com/apache/wicket/blob/wicket-8.x/wicket-request/src/main/java/org/apache/wicket/request/mapper/ParentPathReferenceRewriter.java#L46
is
the "missing" constructor.
Remove wicket-request dependency form your pom.xml file. Maven will resolve
and download the correct one (v. 8.5.0) as a transitive dependency of
wicket-core dependency.


>
> Met vriendelijke groet,
> Kind regards,
>
> Bas Gooren
>
> Op 19 augustus 2019 bij 12:44:24, sb_apa...@bursch.com (
> sb_apa...@bursch.com)
> schreef:
>
> Hi
>
> I'm trying to migrate my project from 7.x to 8.5. I created a new
> pom.xml using your Quick Start Wizard, checked the old dependencies for
> new versions, inserted the dependencies to the new pom.xml and fixed the
> compile errors.
>
> But deploying the war-file to tomcat 8, I'm receiving the following error:
>
> java.lang.NoSuchMethodError:
>
> org.apache.wicket.request.mapper.ParentPathReferenceRewriter.(Lorg/apache/wicket/request/IRequestMapper;Ljava/util/function/Supplier;)V
>
>
>
> I would be grateful for any tip on where the mistake might be or to
> debug this problem.
>
> Kind Regards,
> Sven
>
> (full Errormessage attached)
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>


Re: Migrating to 8.5

2019-08-19 Thread Bas Gooren
Hi!

It sounds like you are not referencing the correct wicket-request
dependency.

Did you check your maven dependency tree to ensure there are no old (or
duplicate/multiple) versions of wicket dependencies being resolved?

Met vriendelijke groet,
Kind regards,

Bas Gooren

Op 19 augustus 2019 bij 12:44:24, sb_apa...@bursch.com (sb_apa...@bursch.com)
schreef:

Hi

I'm trying to migrate my project from 7.x to 8.5. I created a new
pom.xml using your Quick Start Wizard, checked the old dependencies for
new versions, inserted the dependencies to the new pom.xml and fixed the
compile errors.

But deploying the war-file to tomcat 8, I'm receiving the following error:

java.lang.NoSuchMethodError:
org.apache.wicket.request.mapper.ParentPathReferenceRewriter.(Lorg/apache/wicket/request/IRequestMapper;Ljava/util/function/Supplier;)V



I would be grateful for any tip on where the mistake might be or to
debug this problem.

Kind Regards,
Sven

(full Errormessage attached)


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


Migrating to 8.5

2019-08-19 Thread sb_apache
Hi

I'm trying to migrate my project from 7.x to 8.5. I created a new
pom.xml using your Quick Start Wizard, checked the old dependencies for
new versions, inserted the dependencies to the new pom.xml and fixed the
compile errors.

But deploying the war-file to tomcat 8, I'm receiving the following error:

java.lang.NoSuchMethodError:
org.apache.wicket.request.mapper.ParentPathReferenceRewriter.(Lorg/apache/wicket/request/IRequestMapper;Ljava/util/function/Supplier;)V


I would be grateful for any tip on where the mistake might be or to
debug this problem.

Kind Regards,
 Sven

(full Errormessage attached)

19-Aug-2019 11:46:17.509 SCHWERWIEGEND [localhost-startStop-2] 
org.apache.catalina.core.StandardContext.filterStart Exception starting filter 
[wicket.testweb]
 java.lang.NoSuchMethodError: 
org.apache.wicket.request.mapper.ParentPathReferenceRewriter.(Lorg/apache/wicket/request/IRequestMapper;Ljava/util/function/Supplier;)V
at 
org.apache.wicket.core.request.mapper.ResourceReferenceMapper.(ResourceReferenceMapper.java:54)
at 
org.apache.wicket.SystemMapper.newResourceReferenceMapper(SystemMapper.java:74)
at org.apache.wicket.SystemMapper.(SystemMapper.java:53)
at org.apache.wicket.Application.internalInit(Application.java:671)
at 
org.apache.wicket.protocol.http.WebApplication.internalInit(WebApplication.java:728)
at org.apache.wicket.Application.initApplication(Application.java:781)
at 
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:444)
at 
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:368)
at 
org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at 
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4616)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at 
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1852)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:844)


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