Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find the configuration files #4

Open
FredyKimaro opened this issue Dec 11, 2024 · 0 comments
Open

Unable to find the configuration files #4

FredyKimaro opened this issue Dec 11, 2024 · 0 comments

Comments

@FredyKimaro
Copy link

I encountered an issue while running the #OpenCBS-Cloud backend. The application builds successfully in IntelliJ IDEA; however, when I attempt to run it, I get the following error [ost-startStop-1] o.s.b.c.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'webSecurityConfiguration': Unsatisfied dependency expressed through method 'setContentNegotationStrategy' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcConfig' defined in file [E:\javaSE\CoreBanking\OpenCBS-Cloud\server\opencbs-core\target\classes\com\opencbs\core\configs\WebMvcConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userSessionHandler' defined in file [E:\javaSE\CoreBanking\OpenCBS-Cloud\server\opencbs-core\target\classes\com\opencbs\core\configs\UserSessionHandler.class]:[ost-startStop-1] o.s.b.c.embedded.tomcat.TomcatStarter : Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'webSecurityConfiguration': Unsatisfied dependency expressed through method 'setContentNegotationStrategy' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration$EnableWebMvcConfiguration': Unsatisfied dependency expressed through method 'setConfigurers' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'webMvcConfig' defined in file [E:\javaSE\CoreBanking\OpenCBS-Cloud\server\opencbs-core\target\classes\com\opencbs\core\configs\WebMvcConfig.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userSessionHandler' defined in file [E:\javaSE\CoreBanking\OpenCBS-Cloud\server\opencbs-core\target\classes\com\opencbs\core\configs\UserSessionHandler.class]:

Upon investigation, I noticed that the application.properties file appears to be missing from the project. This file is typically crucial for providing configuration values like database connections, security settings, and other properties required for the application to function correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant