Closed Armagetron closed 6 years ago
Ok, found a solution. My original pom.xml was
<source>${java.version}</source>
<target>${java.version}</target>
Changing it to
<source>1.8</source>
<target>1.8</target>
did the trick. Being specific here is also not a problem since tomcat is more or less bound to a specific java version.
I want to migrate the build of the DemoApp from ant to maven. This is my Dockerfile
However I get the following error:
Although
JAVA_HOME
is set to/usr/lib/jvm/java-8-openjdk-amd64
.Does anyone have hints on this? @zervnet @nils-wisiol