On Mon, Aug 19, 2019 at 1:48 PM Bas Gooren <b...@iswd.nl> 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.<init>(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 >