aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2026-06-08 15:20:40 +0200
committerGitHub <noreply@github.com>2026-06-08 15:20:40 +0200
commit9b452b7f5abf799a31f751859ca3103f053adebf (patch)
treecd0f2db53ac75926f2c2e308d9b496bb73fc58cf /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java
parentc8abbd8bef5349ab892a2853a4e5e3d5ed16b670 (diff)
downloadpdf-as-4-9b452b7f5abf799a31f751859ca3103f053adebf.tar.gz
pdf-as-4-9b452b7f5abf799a31f751859ca3103f053adebf.tar.bz2
pdf-as-4-9b452b7f5abf799a31f751859ca3103f053adebf.zip
Further follow-up fixes (#87)
* remove remaining references to pdf-as 4 * fix tomcat coop - properly initialize spring boot not just for bootRun but also for tomcat - fail-fast if properties fails to load - also deps bumps * major version bumps spring boot 3 -> 4 tomcat 10 -> tomcat 11 junit 4 -> 6
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java
index 9d1cd7fe..e9ba88be 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java
@@ -2,9 +2,16 @@ package at.gv.egiz.pdfas.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
@SpringBootApplication
-public class PdfAsWeb {
+public class PdfAsWeb extends SpringBootServletInitializer {
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
+ return application.sources(PdfAsWeb.class);
+ }
+
public static void main(String[] args) {
SpringApplication.run(PdfAsWeb.class, args);
}