Dependency Issue ?
❔ Question
I have been trying to deploy the Pacbot on one of our account, I'm able deploy everything successfully but when I'm trying to access the dashboard using the default credentials, I'm unable to access, then I started checking logs for the pacbot-config and it shows the :Application run failed, is this because of dependency issue that it couldn't be able to build the application ?
🔦 These are the logs for the pacbot-config:
2019-10-25 16:03:16.466 ERROR 36 --- [ main] o.s.boot.SpringApplication : Application run failed 2019-10-25 11:03:16org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultValidator' defined in class path resource [org/springframework/boot/autoconfigure/validation/ValidationAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.valueextraction.ValueExtractorManager
I'm using Ubuntu 18.4 version to run the install
Aha! Link: https://t-mobile1t-mobile.aha.io/features/PM-524
@raviaws319 Could you please downgrade your Java version to OpenJDK 8 if you are using latest OpenJDK or could you please try to install it from Amazon Linux?
Thank you for responding, I have tried it downgrading the Java version to 8 and redeployed, everything deployed pretty well and the target groups for all the service are healthy, but still i'm unable to access the dashboard with default credentials, I have opened the incoming traffic to the world to the pacbot security group but still unable to access the dashboard.
These are the logs for the Pacbot-admin: 2019-10-28 13:07:5228-10-2019 18:07:52.434 [main] INFO 28-10-2019 18:07:52.434 [main] INFO 2019-10-28 13:07:52o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 80 (http) o.s.b.w.e.tomcat.TomcatWebServer.initialize - Tomcat initialized with port(s): 80 (http) 2019-10-28 13:07:5128-10-2019 18:07:51.459 [main] INFO 28-10-2019 18:07:51.459 [main] INFO 2019-10-28 13:07:51o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration' of type [org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration$$EnhancerBySpringCGLIB$$85c2a9a8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.postProcessAfterInitialization - Bean 'org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration' of type [org.springframework.cloud.sleuth.instrument.web.client.TraceWebClientAutoConfiguration$TraceOAuthConfiguration$$EnhancerBySpringCGLIB$$85c2a9a8] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
Are you able to access swagger url, http://{internal-url}/api/auth/api.html
Yes, I'm able to access that.
Resolved the Issue, actually the problem is that I have redeployed the setup from the same repository after destroying the whole pacbot setup, so when I'm hitting the actual loadbalancer url for some how it's going to the old url that's deployed before, I deleted the old repo and did a new clone and it's working now. Thank you for your response.