Search code examples
wicketwicket-1.5wicket-6wicket-1.6wicket-7

Apache-wicket migration to new Version from 1.4.9 to 6.x or 7.x


I am using wicket 1.4.9 Now migrating to newer version 7 or 6 , But I am unable to get wicket-.6.0 / wicket-7.7.0 jar files, In mvn repository only artifact id and all given but it's not working, And even there is not Download option to copy manually into repository, I used wicket core,util,request but still getting compilation error to import org.apache.wicket.PageParameters, so any new jar thatt can be replaced wicket-1.4.9 jar?


Solution

  • You should use wicket-core. If you use Maven/Gradle/... then it will download the dependencies automatically.

    Then you have to update your imports. Just delete the line import org.apache.wicket.PageParameters; and import the class again in your IDE. If you don't use an IDE then the new package name is org.apache.wicket.request.mapper.parameter.PageParameters