juju charm failed in local lxc

Sajith Vijesekara

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
Reinier Post

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

lxc access to juju-local instances

From Dev

How to retrieve and list local charms in juju-gui charm browser?

From Dev

Ubuntu Juju local configure failed

From Dev

What is Juju? What is a Juju Charm?

From Dev

juju error executing lxc-clone local-provider

From Dev

Manually provision an existing LXC container in Juju-local

From Dev

Is there a juju PostGIS charm out there?

From Dev

juju mongodb charm not found

From Dev

Is there a juju PostGIS charm out there?

From Dev

juju mongodb charm not found

From Dev

juju charm relation hooks are not running?

From Dev

What is the correct JUJU charm for Kubernetes?

From Dev

question about Juju charm & bundles

From Dev

How to create ansible charm in juju

From Dev

How can I relaunch juju daemons without stop/starting local LXC containers?

From Dev

How can I relaunch juju daemons without stop/starting local LXC containers?

From Dev

Juju and problem with subcontainers deployment on LXC

From Dev

juju can not start lxc machine

From Dev

Juju on Maas, Lxc container not deploying

From Dev

Not able to find juju charm mysql root password?

From Dev

Not able to find juju charm mysql root password?

From Dev

Deploying a specific version of a software from a juju charm?

From Dev

deploy JuJu charm on AWS without data storage

From Dev

How to deploy Juju charm in development branch

From Dev

What are all steps to setup juju charm relationship

From Dev

How to configure jenkins using juju charm

From Dev

juju charm relation-joined hook not working?

From Dev

What tools are necessary to create a juju charm?

From Dev

Deploying a specific version of a software from a juju charm?

Related Related

HotTag

Archive