SAP / cloud-security-services-integration-library

Integration libraries and samples for authenticating users and clients bound to XSUAA authentication and authorization service or Identity authentication service.
Apache License 2.0
151 stars 135 forks source link

bean of type 'org.springframework.core.convert.converter.Converter' not found #1497

Closed AkashHalayyanavar96 closed 7 months ago

AkashHalayyanavar96 commented 7 months ago

Hi,

We are facing the following issue during the Java17 and Spring 3.x migration for one of our applications (apim-ax-scheduler)

Application start is failing with the following error:


2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT APPLICATION FAILED TO START 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT Description: 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT Field authConverter in com.sap.apimgmt.analytics.backgroundprocesses.security.SecurityConfig required a bean of type 'org.springframework.core.convert.converter.Converter' that could not be found. 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT The injection point has the following annotations: 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT - @org.springframework.beans.factory.annotation.Autowired(required=true) 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT Action: 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT Consider defining a bean of type 'org.springframework.core.convert.converter.Converter' in your configuration. 2024-04-02T10:00:23.125+0000 [APP/PROC/WEB/0] STDOUT {"msg":"\n\n\nAPPLICATION FAILED TO START\n***\n\nDescription:\n\nField authConverter in com.sap.apimgmt.analytics.backgroundprocesses.security.SecurityConfig required a bean of type 'org.springframework.core.convert.converter.Converter' that could not be found.\n\nThe injection point has the following annotations:\n\t- @org.springframework.beans.factory.annotation.Autowired(required=true)\n\n\nAction:\n\nConsider defining a bean of type 'org.springframework.core.convert.converter.Converter' in your configuration.\n","level":"ERROR","written_ts":"1712052023125729181","logger":"org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter","written_at":"2024-04-02T10:00:23.125Z","thread":"main","type":"log"}

Can you please help us with this issue?

GitHub PR for the security config changes: https://github.wdf.sap.corp/DTS-io/apimgmt-analytics/pull/1515/files

finkmanAtSap commented 7 months ago

https://github.com/SAP/cloud-security-services-integration-library?tab=readme-ov-file#how-to-get-support

AkashHalayyanavar96 commented 7 months ago

@finkmanAtSap Have raised the issue yesterday, can you please support https://itsm.services.sap/now/cwf/agent/record/x_sapda_devinc_development_incident/1d1d06a5eb5d4e500053facfcad0cd1a/params/query/type%3Ddev_incident