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

Error on running OpenBAS #2169

Open
notmarshmllow opened this issue Jan 8, 2025 · 1 comment
Open

Error on running OpenBAS #2169

notmarshmllow opened this issue Jan 8, 2025 · 1 comment
Labels
community support use to identify an issue related to feature developed & maintained by community. needs more info use to identify issue needing additional info to be triaged or solved question use for asking information about a functionality or behavior

Comments

@notmarshmllow
Copy link

I am trying to run OpenBAS locally by following the documentation and I am facing the following error -

user@user-MacBook-Air openbas % java -jar openbas-api.jar 

Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
 #######  ########  ######## ##    ## ########     ###     ######
##     ## ##     ## ##       ###   ## ##     ##   ## ##   ##    ##
##     ## ##     ## ##       ####  ## ##     ##  ##   ##  ##
##     ## ########  ######   ## ## ## ########  ##     ##  ######
##     ## ##        ##       ##  #### ##     ## #########       ##
##     ## ##        ##       ##   ### ##     ## ##     ## ##    ##
 #######  ##        ######## ##    ## ########  ##     ##  ######
@project.version@

Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
{"sequenceNumber":0,"timestamp":1736333436584,"nanoseconds":584388000,"level":"ERROR","threadName":"main","loggerName":"org.springframework.boot.web.embedded.tomcat.TomcatStarter","context":{"name":"default","birthdate":1736333434206,"properties":{}},"mdc": {},"message":"Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'appSecurityConfig': Unsatisfied dependency expressed through method 'setUserService' parameter 0: Error creating bean with name 'userService': Unsatisfied dependency expressed through method 'setOrganizationRepository' parameter 0: Error creating bean with name 'organizationRepository' defined in io.openbas.database.repository.OrganizationRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'","throwable":null}
{"sequenceNumber":0,"timestamp":1736333436622,"nanoseconds":622145000,"level":"ERROR","threadName":"main","loggerName":"org.springframework.boot.SpringApplication","context":{"name":"default","birthdate":1736333434206,"properties":{}},"mdc": {},"message":"Application run failed","throwable":{"className":"org.springframework.context.ApplicationContextException","message":"Unable to start web server","stepArray":[{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"onRefresh","fileName":"ServletWebServerApplicationContext.java","lineNumber":165},{"className":"org.springframework.context.support.AbstractApplicationContext","methodName":"refresh","fileName":"AbstractApplicationContext.java","lineNumber":619},{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"refresh","fileName":"ServletWebServerApplicationContext.java","lineNumber":146},{"className":"org.springframework.boot.SpringApplication","methodName":"refresh","fileName":"SpringApplication.java","lineNumber":754},{"className":"org.springframework.boot.SpringApplication","methodName":"refreshContext","fileName":"SpringApplication.java","lineNumber":456},{"className":"org.springframework.boot.SpringApplication","methodName":"run","fileName":"SpringApplication.java","lineNumber":335},{"className":"org.springframework.boot.SpringApplication","methodName":"run","fileName":"SpringApplication.java","lineNumber":1363},{"className":"org.springframework.boot.SpringApplication","methodName":"run","fileName":"SpringApplication.java","lineNumber":1352},{"className":"io.openbas.App","methodName":"main","fileName":"App.java","lineNumber":10},{"className":"jdk.internal.reflect.DirectMethodHandleAccessor","methodName":"invoke","fileName":"DirectMethodHandleAccessor.java","lineNumber":103},{"className":"java.lang.reflect.Method","methodName":"invoke","fileName":"Method.java","lineNumber":580},{"className":"org.springframework.boot.loader.launch.Launcher","methodName":"launch","fileName":"Launcher.java","lineNumber":102},{"className":"org.springframework.boot.loader.launch.Launcher","methodName":"launch","fileName":"Launcher.java","lineNumber":64},{"className":"org.springframework.boot.loader.launch.PropertiesLauncher","methodName":"main","fileName":"PropertiesLauncher.java","lineNumber":580}],"cause":{"className":"org.springframework.boot.web.server.WebServerException","message":"Unable to start embedded Tomcat","stepArray":[{"className":"org.springframework.boot.web.embedded.tomcat.TomcatWebServer","methodName":"initialize","fileName":"TomcatWebServer.java","lineNumber":147},{"className":"org.springframework.boot.web.embedded.tomcat.TomcatWebServer","methodName":"<init>","fileName":"TomcatWebServer.java","lineNumber":107},{"className":"org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory","methodName":"getTomcatWebServer","fileName":"TomcatServletWebServerFactory.java","lineNumber":516},{"className":"org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory","methodName":"getWebServer","fileName":"TomcatServletWebServerFactory.java","lineNumber":222},{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"createWebServer","fileName":"ServletWebServerApplicationContext.java","lineNumber":188},{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"onRefresh","fileName":"ServletWebServerApplicationContext.java","lineNumber":162}],"commonFramesCount":13,"cause":{"className":"org.springframework.beans.factory.UnsatisfiedDependencyException","message":"Error creating bean with name 'appSecurityConfig': Unsatisfied dependency expressed through method 'setUserService' parameter 0: Error creating bean with name 'userService': Unsatisfied dependency expressed through method 'setOrganizationRepository' parameter 0: Error creating bean with name 'organizationRepository' defined in io.openbas.database.repository.OrganizationRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'","stepArray":[{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"resolveMethodArguments","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":896},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"inject","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":849},{"className":"org.springframework.beans.factory.annotation.InjectionMetadata","methodName":"inject","fileName":"InjectionMetadata.java","lineNumber":145},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor","methodName":"postProcessProperties","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":509},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"populateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1439},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":599},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.support.ConstructorResolver","methodName":"instantiateUsingFactoryMethod","fileName":"ConstructorResolver.java","lineNumber":409},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"instantiateUsingFactoryMethod","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1355},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBeanInstance","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1185},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":562},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":205},{"className":"org.springframework.boot.web.servlet.ServletContextInitializerBeans","methodName":"getOrderedBeansOfType","fileName":"ServletContextInitializerBeans.java","lineNumber":211},{"className":"org.springframework.boot.web.servlet.ServletContextInitializerBeans","methodName":"addAsRegistrationBean","fileName":"ServletContextInitializerBeans.java","lineNumber":174},{"className":"org.springframework.boot.web.servlet.ServletContextInitializerBeans","methodName":"addAsRegistrationBean","fileName":"ServletContextInitializerBeans.java","lineNumber":169},{"className":"org.springframework.boot.web.servlet.ServletContextInitializerBeans","methodName":"addAdaptableBeans","fileName":"ServletContextInitializerBeans.java","lineNumber":154},{"className":"org.springframework.boot.web.servlet.ServletContextInitializerBeans","methodName":"<init>","fileName":"ServletContextInitializerBeans.java","lineNumber":87},{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"getServletContextInitializerBeans","fileName":"ServletWebServerApplicationContext.java","lineNumber":266},{"className":"org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext","methodName":"selfInitialize","fileName":"ServletWebServerApplicationContext.java","lineNumber":240},{"className":"org.springframework.boot.web.embedded.tomcat.TomcatStarter","methodName":"onStartup","fileName":"TomcatStarter.java","lineNumber":52},{"className":"org.apache.catalina.core.StandardContext","methodName":"startInternal","fileName":"StandardContext.java","lineNumber":4426},{"className":"org.apache.catalina.util.LifecycleBase","methodName":"start","fileName":"LifecycleBase.java","lineNumber":164},{"className":"org.apache.catalina.core.ContainerBase$StartChild","methodName":"call","fileName":"ContainerBase.java","lineNumber":1203},{"className":"org.apache.catalina.core.ContainerBase$StartChild","methodName":"call","fileName":"ContainerBase.java","lineNumber":1193},{"className":"java.util.concurrent.FutureTask","methodName":"run","fileName":"FutureTask.java","lineNumber":317},{"className":"org.apache.tomcat.util.threads.InlineExecutorService","methodName":"execute","fileName":"InlineExecutorService.java","lineNumber":75},{"className":"java.util.concurrent.AbstractExecutorService","methodName":"submit","fileName":"AbstractExecutorService.java","lineNumber":148},{"className":"org.apache.catalina.core.ContainerBase","methodName":"startInternal","fileName":"ContainerBase.java","lineNumber":749},{"className":"org.apache.catalina.core.StandardHost","methodName":"startInternal","fileName":"StandardHost.java","lineNumber":772},{"className":"org.apache.catalina.util.LifecycleBase","methodName":"start","fileName":"LifecycleBase.java","lineNumber":164},{"className":"org.apache.catalina.core.ContainerBase$StartChild","methodName":"call","fileName":"ContainerBase.java","lineNumber":1203},{"className":"org.apache.catalina.core.ContainerBase$StartChild","methodName":"call","fileName":"ContainerBase.java","lineNumber":1193},{"className":"java.util.concurrent.FutureTask","methodName":"run","fileName":"FutureTask.java","lineNumber":317},{"className":"org.apache.tomcat.util.threads.InlineExecutorService","methodName":"execute","fileName":"InlineExecutorService.java","lineNumber":75},{"className":"java.util.concurrent.AbstractExecutorService","methodName":"submit","fileName":"AbstractExecutorService.java","lineNumber":148},{"className":"org.apache.catalina.core.ContainerBase","methodName":"startInternal","fileName":"ContainerBase.java","lineNumber":749},{"className":"org.apache.catalina.core.StandardEngine","methodName":"startInternal","fileName":"StandardEngine.java","lineNumber":203},{"className":"org.apache.catalina.util.LifecycleBase","methodName":"start","fileName":"LifecycleBase.java","lineNumber":164},{"className":"org.apache.catalina.core.StandardService","methodName":"startInternal","fileName":"StandardService.java","lineNumber":415},{"className":"org.apache.catalina.util.LifecycleBase","methodName":"start","fileName":"LifecycleBase.java","lineNumber":164},{"className":"org.apache.catalina.core.StandardServer","methodName":"startInternal","fileName":"StandardServer.java","lineNumber":870},{"className":"org.apache.catalina.util.LifecycleBase","methodName":"start","fileName":"LifecycleBase.java","lineNumber":164},{"className":"org.apache.catalina.startup.Tomcat","methodName":"start","fileName":"Tomcat.java","lineNumber":437},{"className":"org.springframework.boot.web.embedded.tomcat.TomcatWebServer","methodName":"initialize","fileName":"TomcatWebServer.java","lineNumber":128}],"commonFramesCount":18,"cause":{"className":"org.springframework.beans.factory.UnsatisfiedDependencyException","message":"Error creating bean with name 'userService': Unsatisfied dependency expressed through method 'setOrganizationRepository' parameter 0: Error creating bean with name 'organizationRepository' defined in io.openbas.database.repository.OrganizationRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'","stepArray":[{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"resolveMethodArguments","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":896},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"inject","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":849},{"className":"org.springframework.beans.factory.annotation.InjectionMetadata","methodName":"inject","fileName":"InjectionMetadata.java","lineNumber":145},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor","methodName":"postProcessProperties","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":509},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"populateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1439},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":599},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.config.DependencyDescriptor","methodName":"resolveCandidate","fileName":"DependencyDescriptor.java","lineNumber":254},{"className":"org.springframework.beans.factory.support.DefaultListableBeanFactory","methodName":"doResolveDependency","fileName":"DefaultListableBeanFactory.java","lineNumber":1443},{"className":"org.springframework.beans.factory.support.DefaultListableBeanFactory","methodName":"resolveDependency","fileName":"DefaultListableBeanFactory.java","lineNumber":1353},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"resolveMethodArguments","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":888}],"commonFramesCount":69,"cause":{"className":"org.springframework.beans.factory.BeanCreationException","message":"Error creating bean with name 'organizationRepository' defined in io.openbas.database.repository.OrganizationRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration: Cannot resolve reference to bean 'jpaSharedEM_entityManagerFactory' while setting bean property 'entityManager'","stepArray":[{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveReference","fileName":"BeanDefinitionValueResolver.java","lineNumber":377},{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveValueIfNecessary","fileName":"BeanDefinitionValueResolver.java","lineNumber":135},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"applyPropertyValues","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1705},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"populateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1454},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":599},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.config.DependencyDescriptor","methodName":"resolveCandidate","fileName":"DependencyDescriptor.java","lineNumber":254},{"className":"org.springframework.beans.factory.support.DefaultListableBeanFactory","methodName":"doResolveDependency","fileName":"DefaultListableBeanFactory.java","lineNumber":1443},{"className":"org.springframework.beans.factory.support.DefaultListableBeanFactory","methodName":"resolveDependency","fileName":"DefaultListableBeanFactory.java","lineNumber":1353},{"className":"org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredMethodElement","methodName":"resolveMethodArguments","fileName":"AutowiredAnnotationBeanPostProcessor.java","lineNumber":888}],"commonFramesCount":83,"cause":{"className":"org.springframework.beans.factory.BeanCreationException","message":"Error creating bean with name 'jpaSharedEM_entityManagerFactory': Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument","stepArray":[{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveReference","fileName":"BeanDefinitionValueResolver.java","lineNumber":377},{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveValueIfNecessary","fileName":"BeanDefinitionValueResolver.java","lineNumber":135},{"className":"org.springframework.beans.factory.support.ConstructorResolver","methodName":"resolveConstructorArguments","fileName":"ConstructorResolver.java","lineNumber":682},{"className":"org.springframework.beans.factory.support.ConstructorResolver","methodName":"instantiateUsingFactoryMethod","fileName":"ConstructorResolver.java","lineNumber":509},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"instantiateUsingFactoryMethod","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1355},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBeanInstance","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1185},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":562},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveReference","fileName":"BeanDefinitionValueResolver.java","lineNumber":365}],"commonFramesCount":96,"cause":{"className":"org.springframework.beans.factory.BeanCreationException","message":"Error creating bean with name 'flywayInitializer' defined in class path resource [org\/springframework\/boot\/autoconfigure\/flyway\/FlywayAutoConfiguration$FlywayConfiguration.class]: Unable to obtain connection from database: Unable to parse URL jdbc:postgresql:\/\/...\n------------------------------------------------------------------------------------\nSQL State  : 99999\nError Code : 0\nMessage    : Unable to parse URL jdbc:postgresql:\/\/...\n","stepArray":[{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"initializeBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1806},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"doCreateBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":600},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"createBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":522},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"lambda$doGetBean$0","fileName":"AbstractBeanFactory.java","lineNumber":337},{"className":"org.springframework.beans.factory.support.DefaultSingletonBeanRegistry","methodName":"getSingleton","fileName":"DefaultSingletonBeanRegistry.java","lineNumber":234},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":335},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"doGetBean","fileName":"AbstractBeanFactory.java","lineNumber":313},{"className":"org.springframework.beans.factory.support.AbstractBeanFactory","methodName":"getBean","fileName":"AbstractBeanFactory.java","lineNumber":200},{"className":"org.springframework.beans.factory.support.BeanDefinitionValueResolver","methodName":"resolveReference","fileName":"BeanDefinitionValueResolver.java","lineNumber":365}],"commonFramesCount":108,"cause":{"className":"org.flywaydb.core.internal.exception.FlywaySqlException","message":"Unable to obtain connection from database: Unable to parse URL jdbc:postgresql:\/\/...\n------------------------------------------------------------------------------------\nSQL State  : 99999\nError Code : 0\nMessage    : Unable to parse URL jdbc:postgresql:\/\/...\n","stepArray":[{"className":"org.flywaydb.core.internal.jdbc.JdbcUtils","methodName":"openConnection","fileName":"JdbcUtils.java","lineNumber":60},{"className":"org.flywaydb.core.internal.jdbc.JdbcConnectionFactory","methodName":"<init>","fileName":"JdbcConnectionFactory.java","lineNumber":72},{"className":"org.flywaydb.core.FlywayExecutor","methodName":"execute","fileName":"FlywayExecutor.java","lineNumber":134},{"className":"org.flywaydb.core.Flyway","methodName":"migrate","fileName":"Flyway.java","lineNumber":147},{"className":"org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer","methodName":"afterPropertiesSet","fileName":"FlywayMigrationInitializer.java","lineNumber":66},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"invokeInitMethods","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1853},{"className":"org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory","methodName":"initializeBean","fileName":"AbstractAutowireCapableBeanFactory.java","lineNumber":1802}],"commonFramesCount":117,"cause":{"className":"org.postgresql.util.PSQLException","message":"Unable to parse URL jdbc:postgresql:\/\/...","stepArray":[{"className":"org.postgresql.Driver","methodName":"connect","fileName":"Driver.java","lineNumber":281},{"className":"org.springframework.jdbc.datasource.SimpleDriverDataSource","methodName":"getConnectionFromDriver","fileName":"SimpleDriverDataSource.java","lineNumber":144},{"className":"org.springframework.jdbc.datasource.AbstractDriverBasedDataSource","methodName":"getConnectionFromDriver","fileName":"AbstractDriverBasedDataSource.java","lineNumber":205},{"className":"org.springframework.jdbc.datasource.AbstractDriverBasedDataSource","methodName":"getConnection","fileName":"AbstractDriverBasedDataSource.java","lineNumber":169},{"className":"org.flywaydb.core.internal.jdbc.JdbcUtils","methodName":"openConnection","fileName":"JdbcUtils.java","lineNumber":48}],"commonFramesCount":123}}}}}}}}}}
@notmarshmllow notmarshmllow added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Jan 8, 2025
@EllynBsc EllynBsc added the community support use to identify an issue related to feature developed & maintained by community. label Jan 8, 2025
@MarineLeM
Copy link
Contributor

Hello,
As I can see on the logs, it seems that your application is not connected to the database. Could you please confirm that the database is up and running? Additionally, do you have access to it?

Also, please check your application.properties file to ensure that the database connection properties are correctly configured.

Image

@jborozco jborozco added question use for asking information about a functionality or behavior needs more info use to identify issue needing additional info to be triaged or solved and removed needs triage use to identify issue needing triage from Filigran Product team bug use for describing something not working as expected labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community support use to identify an issue related to feature developed & maintained by community. needs more info use to identify issue needing additional info to be triaged or solved question use for asking information about a functionality or behavior
Projects
None yet
Development

No branches or pull requests

4 participants