![]() ![]() Why is it trying to connect to this IP address, isn’t it supposed to connect to the localhost as specified in settings.xml? 10:47:33.817 WARN localhost-startStop-1 .embedded.AnnotationConfigEmbeddedWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: .UnsatisfiedDependencyException: Error creating bean with name 'shiroFilter' defined in class path resource : Unsatisfied dependency expressed through method 'shiroFilter' parameter 0 nested exception is .BeanCreationException: Error creating bean with name 'flyway' defined in class path resource : Invocation of init method failed nested exception is .FlywayException: Unable to obtain Jdbc connection from DataSource It seems to be attempting to connect to the IP address specified in pom.wml, this is another error from catalina.out. ![]() ![]() The initial catalina.out error message is as follows. If anyone has any insight I would greatly appreciate it! It seems like whatever is happening in the build is keeping WebAPI to connect to the database, but I am not sure how to fix it. I confirmed that a stand-alone Java class is able to connect to the same database on the PostgreSQL instance using JDBC and the credentials outlined in settings.xml. The build will complete successfully, but with the warnings shown below, the war file will not successfully deploy to Tomcat. I am new to the ODHSI suite of web tools, and I am having trouble with my installation of the WebAPI (cloned from github ) using PostgreSQL 9.6.6. ![]()
0 Comments
Leave a Reply. |