Skip to content
Advertisement

Apache Wicket with Spring version dependencies

Is there any known version dependencies between Apache Wicket and Spring? Couldn’t find any from the Wicket or Wicket-Spring bridge documentation .

For example can Wicket 7 be run with Spring 5, Wicket 9 with Spring 4 and so on.

Advertisement

Answer

Wicket 7.x uses Spring 4.1.x – https://github.com/apache/wicket/blob/wicket-7.x/pom.xml#L135

Wicket 8.x uses Spring 4.3.x – https://github.com/apache/wicket/blob/wicket-8.x/pom.xml#L137

Wicket 9.x uses Spring 5.3.x – https://github.com/apache/wicket/blob/wicket-9.x/pom.xml#L174

Wicket 10.x will use Spring 6.x – https://github.com/apache/wicket/blob/80726e2dae60e5893be0621761883f2dec20cac0/pom.xml#L185

You can manage the Spring version in your pom.xml and it may work or not depending on which Spring APIs you use in your application. Wicket’s usage of Spring APIs is rather minimal and most probably you won’t face problems.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement