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.
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.
Related
I'm trying to migrate application with Camunda BPM 7.14.0 and Spring Boot 2.7.2 dependencies to latest Spring version(3.0.1/3.0.2) and at least Camunda 7.16.
Unfortunately I'm receiving some errors during migration and would like to ask what is the compatible version of Camunda which I can use with Spring 3.0.1?
From the compatibility matrix I can read that Camunda 7.18 is compatible only with version 2.7.x
https://docs.camunda.org/manual/7.18/user-guide/spring-boot-integration/version-compatibility/
Can someone confirm it?
Yes, I can confirm that 7.18 is compatible with 2.7.x
Spring Boot 3.0 requires some change in the autoconfiguration declaration and as far as I understood, the community edition will not support it until 7.20.0.
But the same thread mentions a manual fix that I haven't tried so far.
I've been using the Spring 5.7.x (through the Spring boot 2.7.6) with Apache Tiles 3. I'm now about to migrate my application to the recently released latest version of Spring 6.0.0 (through Spring boot 3.0.0) and I realized during the migration that - TilesConfigurer class has been removed completely.
I can't find any official resource and this class has never been deprecated so I'm not sure why the entire tiles view package (org.springframework.web.servlet.view.tiles3) is missing in the latest Spring 6.0.x version as per the documentation here
https://docs.spring.io/spring-framework/docs/6.0.x/javadoc-api/index.html
Does anyone know the reason for it?
We currently have a Spring boot application running on Tomcat 9.
It is using Spring boot version 2.1.5. In order to make my application compatible with Tomcat 10, what should be the Spring boot version?
Will Spring boot be compatible with Tomcat 10(jakarta.* changes)? Or is it still in development?
No version of Spring at this time (neither Spring 5.3.x nor Spring Boot 2.5.x) supports Jakarta EE 9.
According to this issue ticket, you need to wait for Spring 6.x (2022) and Spring Boot 3.x.
Edit: It is official (cf. Spring blog): support for Jakarta EE 9 will be available in Spring Boot 3 and Spring 6, but at the same time they will require Java 17.
Edit2: The first milestone releases (3.0.0-M3 at the time of writing) are available in the Maven repository https://repo.spring.io/ui/native/milestone.
I was tasked to assign to modify an application with RBAC(Role Based access control) for a project which uses an older spring mvc version 3.0.5.
We plan to integrate spring security for this task.
The question is, are there any older version of spring security we can use
that is compatible with the spring mvc we have?
Last Spring Security-3.1.0 supports spring 3.0.6. This version of spring security should work fine for your project.
Although your version should work fine with this version of spring security if you want you can do a minor version upgrade of spring. You can find the changelogs here https://spring.io/blog/2011/08/24/spring-3-0-6-is-now-available
And documentation for this version of the library can be found at this link spring-security-3.0.7-docs
But, please be cautious, it's not recommended to use older versions of security-related libraries since they might have known vulnerabilities.
When I include spring-boot in my project, it has predefined versions of other spring components. eg: spring-boot 1.3.5 with spring-boot-starter-web automatically includes spring-mvc 4.2.6. if I want to use some features from webmvc 4.3, how can i know they are compatible? is there any compatibility matrix? or should i just treat it as a single release and never change versions?
Spring Boot will work the best for you if you don't try to resist defaults (of course change them only if necessary). You can include Spring 4.3 into Spring boot 1.3.x project, but I guess you will encounter various issues.
Version 1.4.0 will include Spring 4.3. Spring Boot 1.4.0 is on Milestone 3 currently.
BTW,
compatibility version for spring boot
1.5x: https://docs.spring.io/spring-boot/docs/1.5.x/reference/html/appendix-dependency-versions.html
and for spring boot 2.0x:
https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/appendix-dependency-versions.html