0

I am trying to upgrade from swagger spring-fox to open-api in a spring-boot application and I am encountering below error.

caused by java.lang.noclassdeffounderror org/springframework/transaction/reactivetransactionmanager. I tried adding implementation 'org.springframework:spring-tx:5.2.4.RELEASE' in gradle but after adding that I see Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.support.JdbcTransactionManager which did not solve by adding implementation 'org.springframework:spring-jdbc:5.2.4.RELEASE'. Can someone suggest on how we can resolve this? I am using folowwing versions

implementation "org.springframework.boot:spring-boot:2.1.9.RELEASE" implementation "org.springframework.boot:spring-boot-starter-web:2.1.9.RELEASE" implementation "org.springframework.boot:spring-boot-starter-actuator:2.1.9.RELEASE" implementation 'org.springdoc:springdoc-openapi-ui:1.6.14' implementation "org.springframework.boot:spring-boot-starter-jdbc:2.2.5.RELEASE" implementation 'org.springframework:spring-tx:5.2.4.RELEASE' implementation 'org.springframework:spring-jdbc:5.2.4.RELEASE'

har123
  • 49
  • 6

1 Answers1

0

Goodnight friend,

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 16 '23 at 13:45