summaryrefslogtreecommitdiff
path: root/examples/spring-boot/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'examples/spring-boot/src/main/java')
-rw-r--r--examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/Application.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/Application.java b/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/Application.java
index d7be322..9a4bdee 100644
--- a/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/Application.java
+++ b/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/Application.java
@@ -4,12 +4,17 @@
package eu.mulk.quarkus.googlecloud.jsonlogging.example;
+import org.apache.catalina.webresources.TomcatURLStreamHandlerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
+ static {
+ TomcatURLStreamHandlerFactory.disable();
+ }
+
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}