So I want to run my web application in the local lxc provider using juju.my web application is maven build application. So I create my charm and try to run it locally. In hooks I have installed java and maven for bulding web application. After downloading all the required (java,maven) it failed in start script in hooks. Install script is fine. This is the start script can anyone tell me how to fix this issue ?
#!/bin/bash
set -e
SDK_HOME=/home/ubuntu/application/samples/maven_sampleapp
cd $SDK_HOME
mvn clean install jetty:run
This is the error I got when Compile application.
error: annotations are not supported in -source 1.3
error: generics are not supported in -source 1.3
variable-arity methods are not supported in -source 1.3
The error messages say you need to use a newer version of Java.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments