diff options
| author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2026-06-08 15:20:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-08 15:20:40 +0200 |
| commit | 9b452b7f5abf799a31f751859ca3103f053adebf (patch) | |
| tree | cd0f2db53ac75926f2c2e308d9b496bb73fc58cf /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/PdfAsWeb.java | |
| parent | c8abbd8bef5349ab892a2853a4e5e3d5ed16b670 (diff) | |
| download | pdf-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.java | 9 |
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); } |
