F43nd1r / Acrarium

A Backend for ACRA written in Kotlin using Spring Boot, Vaadin and MySQL
Apache License 2.0
195 stars 51 forks source link

Build Instructions #511

Closed Doomsdayrs closed 4 months ago

Doomsdayrs commented 4 months ago

I am trying to build the container

My steps

cd GITDIR
./gradlew buildJar
cd acrarium
podman build . --tag acrarium:git

But then I get an error in container:

java.lang.RuntimeException: Unable to initialize com.vaadin.flow.spring.VaadinServletContextInitializer$VaadinAppShellContextListener

What am I doing wrong?

Doomsdayrs commented 4 months ago

Similar to https://github.com/F43nd1r/Acrarium/issues/123#issuecomment-687883729 , but I am using gradle directly

F43nd1r commented 4 months ago
./gradlew bootJar -x test -Pvaadin.productionMode=true