Questions tagged [spring-boot-migration-1.5.x-2.1.x]
7 questions
3
votes
0 answers
javax.persistence.TransactionRequiredException: Executing an update/delete query : Spring boot Migration from 1.5.4 to 2.7.5
I am migrating the spring boot app from spring boot 1.5.4 to spring boot 2.7.5, In old code I have hibernate at DAO layer. (does the migration caused the issue, I did not find very particular about the issue )
properties file has connection details…

Kiran Pophale
- 43
- 3
2
votes
1 answer
BootJar didn't create BOOT-INF folder after spring boot migration from 1.5.8 to 2.1.14-RELEASE
I have done the migration of the Spring Boot Application from 1.5.8 to 2.1.14-RELEASE and using gradle as a build script. I am using spring-boot-gradle-plugin and spring-boot-dependency-management plugins. In our spring boot project, we are creating…

Sarath Upadrista
- 473
- 4
- 19
1
vote
4 answers
Defining a bean of type 'com.netflix.discovery.AbstractDiscoveryClientOptionalArgs' in your configuration
I am migrating my application from Spring boot version 1.5.22.RELEASE to 2.5.5 to remediate vulnerabilities. In one cache-locator module, I am using spring-boot-starter-data-gemfire 1.5.22.RELEASE along with com.gemstone.gemfire:gemfire:8.2.7,…

Aniruddh Dwivedi
- 249
- 1
- 3
- 10
1
vote
1 answer
How can I exclude the jars using BootJar similar to customConfiguration in BootRepackage?
I have recently done the spring boot migration from 1.5.8 to 2.1.14-RELEASE and using gradle as a build script. I am using spring-boot-gradle-plugin and spring-boot-dependency-management plugins. We are creating 4 executable jars (eureka, oAuth,…

Sarath Upadrista
- 473
- 4
- 19
0
votes
0 answers
Spring boot 3.0.2 Missing implementation of resolved method 'abstract void doFilterInternal(jakarta.*) of abstract class filter.OncePerRequestFilter
I'm migrating application from Java 11 Spring Boot 2.7.0 to Java 17 Spring Boot 3.0.0 , spring security 6.0.1 and getting error:
ERROR org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/].[dispatcherServlet] - Servlet.service() for…

Srinivasarao
- 1
- 1
0
votes
0 answers
Spring Boot2.0 - @SessonScope cannot be updated and is not reflected in HttpSession
In Spring Boot1.5, it was possible to update the instance with @SessionScope.
However, when Spring Boot 2.0 is used, the value is not updated and it remains null.
Session-scoped component:
@Data
@SessionScope
public class UserDto {
private String…

Tsukeawase 1013
- 1
- 1
-1
votes
1 answer
Spring boot migration 1.5.x to 2.x, H2 database 1.4.200 version throwing syntax error in alter command
I have upgraded my spring boot version from 1.5.x to 2.0.0 and updated h2 DB version to 1.4.200. In the process, h2 is throwing error with my alter column command.
Actual alter command
--ALTER TABLE log_activity
--CHANGE COLUMN name name…

Prth
- 3
- 1