What are spring-boot supported versions for log4j? - spring

Can I know about what are the spring-boot supported versions for log4j. Because I use spring-boot version 1.5.9. It is already support for log4j2 and I want to know what is the latest version that support for log4j.

All latest versions of Spring Boot supports log4j2.
Current version of Spring Boot 2.0.0 supports log4j2 version 2.10.0. You can verify other dependency versions from here.

Related

Compatibility of camel.springboot and spring-boot

How can I find out which spring-boot versions are supported by a given camel.springboot version? Neither camel-spring-boot-dependencies nor camel-spring-boot-bom contains any spring versions.
The org.apache.camel.springboot:spring-boot pom file references a specific Spring Boot version. For example, 3.10.0 references Spring Boot 2.4.5, 3.9.0 references Spring Boot 2.4.4, and 3.8.0 references Spring Boot 2.4.2.

How do I find out if a component is compatible with the current version of Spring

For a given spring version how do I find out which if the latest version of a component is supported or not,For example-if we are using spring boot (v1.5.8.RELEASE) ,how do I know if that spring version supports the latest version of a component say netty-all (4.1.63.Final) or the spring boot version does not support it and needs a spring version upgrade
I guess you put the version into your POM and run your tests. Then you'll see.

Is there any Spring 5.0.6.RELEASE osgified version patch available?

Is there any Spring 5.0.6.RELEASE osgified version patch available? We have to to do quick release so need to upgrade older spring but currently our framework uses OSGI based container, though spring has officially stopped supported OSGI. Is it possible to have patched version of latest Spring framework?
Though I know it's better to convert to Spring based container but since time doesn't allow I'm in search of any osgified version of Spring jars.
Apache Servicemix produces osgified versions of a lot of well known libraries, Spring included: https://github.com/apache/servicemix-bundles
Currently the latest osgfied version of Spring is "5.0.5.RELEASE", with "5.0.6.RELEASE" probably due to come in the near future. Otherwise, getting servicemix pom.xml for 5.0.5.RELEASE and manually changing Spring version should work (from 5.0.5 to 5.0.6 there should be just internal implementation changes).

Facing issue while upgrading from Spring Boot 1.x to Spring Boot 2.x

I have an already existing SpringBoot 1.x application which is using Java 7.I want to upgrade spring boot version from 1.x to 2.x.
For up gradation I have upgraded java version from 1.7 to 1.8 in maven pom.xml.
In existing application I am using apache log4j(org.apache.log4j.*) for logging purpose.Getting compilation error for log4j after up gradation.
Thanks in advance.
As of Spring Boot 1.4, the log4j (1.x) starter module is no longer available:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes#deprecations-from-spring-boot-13
You can either switch to log4j2 (which still has a starter module) or you'll have to manually provide the log4j dependencies 1.x in your POM.

Which the compatible version of spring batch with spring 3.0.x and hibernate 3.6.3?

i'm using spring version 3.0.5 and hibernate-core version 3.6.3.final, hiberanate-commons-annotations-3.2.0.final and hibernate-jpa-2.0-api-1.0.0.final.jar and i want to know which version is compatible ?
I can"t modify the versions of spring and hibernate at the moment. For technical problems hibernate4 not support HibernateTemplate and spring version great than 3.0.x not support HibernateDaoSupport too.
So I want the spring batch version that is compatible with these two versios.
Thanks.
use spring-batch-2.1.9.RELEASE it is compatible with spring-core 3.0.x.
From 2.2.0 spring-Batch needs spring-core 3.2.0

Resources