Closed jorgeserrao closed 3 years ago
Hi Guys,
When I run mvn verify on my SpringBoots service in localhost I get the following error:
[ERROR] An error has occured: Response code 403
I'm using the standard configuration and the service runs fine. Here are further details:
[INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:start (pre-integration-test) @ subscriptions-api --- [INFO] Attaching agents: []
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.4.4)
2021-03-30 09:35:30.415 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : Starting SubscriptionsApiApplication using Java 11.0.7 on AMAC02XH0T6JHD4 with PID 11293 (/Users/j.f.de.brito.serrao/Development/vodafone/subscriptions-api/target/classes started by j.f.de.brito.serrao in /Users/j.f.de.brito.serrao/Development/vodafone/subscriptions-api) 2021-03-30 09:35:30.417 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : No active profile set, falling back to default profiles: default 2021-03-30 09:35:31.556 INFO 11293 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-03-30 09:35:31.565 INFO 11293 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-03-30 09:35:31.565 INFO 11293 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] 2021-03-30 09:35:31.654 INFO 11293 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-03-30 09:35:31.655 INFO 11293 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1191 ms 2021-03-30 09:35:31.917 INFO 11293 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2021-03-30 09:35:32.475 INFO 11293 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 2021-03-30 09:35:32.516 INFO 11293 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-03-30 09:35:32.532 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : Started SubscriptionsApiApplication in 2.477 seconds (JVM running for 3.116) [INFO] [INFO] --- springdoc-openapi-maven-plugin:1.3:generate (integration-test) @ subscriptions-api --- [ERROR] An error has occured: Response code 403 [INFO] [INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:stop (post-integration-test) @ subscriptions-api --- [INFO] Stopping application... 2021-03-30 09:35:34.016 INFO 11293 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested. 2021-03-30 09:35:34.050 INFO 11293 --- [on(2)-127.0.0.1] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.560 s [INFO] Finished at: 2021-03-30T09:35:34+01:00
Hi Guys,
When I run mvn verify on my SpringBoots service in localhost I get the following error:
[ERROR] An error has occured: Response code 403
I'm using the standard configuration and the service runs fine. Here are further details:
[INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:start (pre-integration-test) @ subscriptions-api --- [INFO] Attaching agents: []
. _ _ /\ / '_ () \ \ \ \ ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ \/ _)| |)| | | | | || (| | ) ) ) ) ' |__| .|| ||| |\, | / / / / =========|_|==============|__/=//// :: Spring Boot :: (v2.4.4)
2021-03-30 09:35:30.415 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : Starting SubscriptionsApiApplication using Java 11.0.7 on AMAC02XH0T6JHD4 with PID 11293 (/Users/j.f.de.brito.serrao/Development/vodafone/subscriptions-api/target/classes started by j.f.de.brito.serrao in /Users/j.f.de.brito.serrao/Development/vodafone/subscriptions-api) 2021-03-30 09:35:30.417 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : No active profile set, falling back to default profiles: default 2021-03-30 09:35:31.556 INFO 11293 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2021-03-30 09:35:31.565 INFO 11293 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2021-03-30 09:35:31.565 INFO 11293 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.44] 2021-03-30 09:35:31.654 INFO 11293 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2021-03-30 09:35:31.655 INFO 11293 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1191 ms 2021-03-30 09:35:31.917 INFO 11293 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2021-03-30 09:35:32.475 INFO 11293 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator' 2021-03-30 09:35:32.516 INFO 11293 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path '' 2021-03-30 09:35:32.532 INFO 11293 --- [ main] c.d.s.SubscriptionsApiApplication : Started SubscriptionsApiApplication in 2.477 seconds (JVM running for 3.116) [INFO] [INFO] --- springdoc-openapi-maven-plugin:1.3:generate (integration-test) @ subscriptions-api --- [ERROR] An error has occured: Response code 403 [INFO] [INFO] --- spring-boot-maven-plugin:2.3.4.RELEASE:stop (post-integration-test) @ subscriptions-api --- [INFO] Stopping application... 2021-03-30 09:35:34.016 INFO 11293 --- [on(2)-127.0.0.1] inMXBeanRegistrar$SpringApplicationAdmin : Application shutdown requested. 2021-03-30 09:35:34.050 INFO 11293 --- [on(2)-127.0.0.1] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14.560 s [INFO] Finished at: 2021-03-30T09:35:34+01:00