I am fairly new to Maven and trying to compile a very simple project. This is my pom.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bharani.aws</groupId>
<artifactId>com.bharani.aws.dynamo</artifactId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.106</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.16</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
When I do mvn compile, I get a bunch of cannot find symbol errors. Clearly, the dependencies are not downloaded and used. Here is the error log:
f45c89aa1b75:bharani-aws-dynamo janakiab$ mvn compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building com.bharani.aws.dynamo 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) # com.bharani.aws.dynamo ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) # com.bharani.aws.dynamo ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /Users/janakiab/code/bharani-aws-dynamo/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[3,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[4,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[5,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[6,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[7,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[8,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[9,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[10,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[11,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[16,2] cannot find symbol
symbol: class Data
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[17,2] cannot find symbol
symbol: class Builder
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[18,2] cannot find symbol
symbol: class ToString
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[19,2] cannot find symbol
symbol: class NoArgsConstructor
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[20,2] cannot find symbol
symbol: class AllArgsConstructor
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[21,2] cannot find symbol
symbol: class DynamoDBTable
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[3,26] package com.amazonaws.auth does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[4,26] package com.amazonaws.auth does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[5,29] package com.amazonaws.regions does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[6,41] package com.amazonaws.services.dynamodbv2 does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[7,41] package com.amazonaws.services.dynamodbv2 does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[8,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[33,13] cannot find symbol
symbol: class AmazonDynamoDB
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[41,44] cannot find symbol
symbol: class AmazonDynamoDB
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[41,13] cannot find symbol
symbol: class DynamoDBMapper
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[24,6] cannot find symbol
symbol: class DynamoDBAutoGeneratedKey
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[25,6] cannot find symbol
symbol: class DynamoDBHashKey
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[28,6] cannot find symbol
symbol: class DynamoDBAttribute
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[31,6] cannot find symbol
symbol: class DynamoDBAttribute
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[34,6] cannot find symbol
symbol: class DynamoDBAttribute
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[37,6] cannot find symbol
symbol: class DynamoDBAttribute
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[40,6] cannot find symbol
symbol: class DynamoDBAttribute
location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[22,15] cannot find symbol
symbol: class AmazonDynamoDB
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[23,15] cannot find symbol
symbol: class DynamoDBMapper
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[36,38] cannot find symbol
symbol: class AWSStaticCredentialsProvider
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[37,29] cannot find symbol
symbol: class BasicAWSCredentials
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[35,29] cannot find symbol
symbol: variable Regions
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[34,16] cannot find symbol
symbol: variable AmazonDynamoDBClientBuilder
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[42,20] cannot find symbol
symbol: class DynamoDBMapper
location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[46,28] cannot find symbol
symbol: method builder()
location: class com.bharani.aws.CustomerInfo
[INFO] 39 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.560 s
[INFO] Finished at: 2017-10-04T18:46:40-07:00
[INFO] Final Memory: 15M/302M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project com.bharani.aws.dynamo: Compilation failure: Compilation failure:
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[3,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[4,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[5,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[6,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[7,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[8,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[9,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[10,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[11,14] package lombok does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[16,2] cannot find symbol
[ERROR] symbol: class Data
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[17,2] cannot find symbol
[ERROR] symbol: class Builder
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[18,2] cannot find symbol
[ERROR] symbol: class ToString
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[19,2] cannot find symbol
[ERROR] symbol: class NoArgsConstructor
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[20,2] cannot find symbol
[ERROR] symbol: class AllArgsConstructor
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[21,2] cannot find symbol
[ERROR] symbol: class DynamoDBTable
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[3,26] package com.amazonaws.auth does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[4,26] package com.amazonaws.auth does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[5,29] package com.amazonaws.regions does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[6,41] package com.amazonaws.services.dynamodbv2 does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[7,41] package com.amazonaws.services.dynamodbv2 does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[8,54] package com.amazonaws.services.dynamodbv2.datamodeling does not exist
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[33,13] cannot find symbol
[ERROR] symbol: class AmazonDynamoDB
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[41,44] cannot find symbol
[ERROR] symbol: class AmazonDynamoDB
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[41,13] cannot find symbol
[ERROR] symbol: class DynamoDBMapper
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[24,6] cannot find symbol
[ERROR] symbol: class DynamoDBAutoGeneratedKey
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[25,6] cannot find symbol
[ERROR] symbol: class DynamoDBHashKey
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[28,6] cannot find symbol
[ERROR] symbol: class DynamoDBAttribute
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[31,6] cannot find symbol
[ERROR] symbol: class DynamoDBAttribute
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[34,6] cannot find symbol
[ERROR] symbol: class DynamoDBAttribute
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[37,6] cannot find symbol
[ERROR] symbol: class DynamoDBAttribute
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/CustomerInfo.java:[40,6] cannot find symbol
[ERROR] symbol: class DynamoDBAttribute
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[22,15] cannot find symbol
[ERROR] symbol: class AmazonDynamoDB
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[23,15] cannot find symbol
[ERROR] symbol: class DynamoDBMapper
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[36,38] cannot find symbol
[ERROR] symbol: class AWSStaticCredentialsProvider
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[37,29] cannot find symbol
[ERROR] symbol: class BasicAWSCredentials
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[35,29] cannot find symbol
[ERROR] symbol: variable Regions
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[34,16] cannot find symbol
[ERROR] symbol: variable AmazonDynamoDBClientBuilder
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[42,20] cannot find symbol
[ERROR] symbol: class DynamoDBMapper
[ERROR] location: class com.bharani.aws.Main
[ERROR] /Users/janakiab/code/bharani-aws-dynamo/src/main/java/com/bharani/aws/Main.java:[46,28] cannot find symbol
[ERROR] symbol: method builder()
[ERROR] location: class com.bharani.aws.CustomerInfo
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
f45c89aa1b75:bharani-aws-dynamo janakiab$
Can someone point me if I am missing something?
Thanks.
Your dependencies are defined inside of the < dependencyManagement > section. In this section it defines dependencies in a parent project and allows the same version to be used in sub-modules. If you remove the < dependencyManagement > tags and/or add the same thing in just < dependencies > and it should work properly.
See maven dependency management page for more details.
Related
I have built a java maven project. In Eclipse I can run a "clean install" and it works fine.
Now I am new with OpenShift and I want to run there this application. I have chosen the "Red Hat Open JDK 8" and pull the code from my git repository. Now when I build my application, it don't install because of a compliation failure.
Here are the errors from the log:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[3,26] package javafx.application does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[4,19] package javafx.fxml does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[6,20] package javafx.scene does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[7,20] package javafx.stage does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[9,37] cannot find symbol
symbol: class Application
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[11,17] cannot find symbol
symbol: class Stage
location: class com.nttdata.altemista.MainController
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[15,27] cannot find symbol
symbol: class Stage
location: class com.nttdata.altemista.MainController
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[25,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[26,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[27,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[28,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[29,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[30,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[31,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[35,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[36,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[37,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[38,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[39,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[40,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[41,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[42,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[43,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[44,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[45,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[46,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[47,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[48,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[49,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[50,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[51,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[52,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[53,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[54,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[55,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[56,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[57,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[58,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[59,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[60,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[61,5] cannot find symbol
symbol: class FXML
location: class com.nttdata.altemista.Controller
[INFO] 110 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.523 s
[INFO] Finished at: 2019-05-14T09:12:58Z
[INFO] Final Memory: 24M/458M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "openshift" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project PricingCalculator: Compilation failure: Compilation failure:
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/AzureRateCard.java:[171,137] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/AzureRateCard.java:[196,79] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/AzureRateCard.java:[197,180] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[28,68] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[28,85] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[28,108] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[28,120] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[42,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[56,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[70,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[77,73] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[84,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[98,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[112,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[126,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[140,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[154,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/CSVWriter.java:[168,115] unmappable character for encoding UTF-8
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[15,26] package javafx.beans.value does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[16,26] package javafx.beans.value does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[17,1] package javafx.collections does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[18,20] package javafx.event does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[19,19] package javafx.fxml does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[20,19] package javafx.fxml does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[21,1] package javafx.scene.control does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[23,36] cannot find symbol
[ERROR] symbol: class Initializable
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[25,18] cannot find symbol
[ERROR] symbol: class ListView
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[26,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[27,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[28,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[29,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[30,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[31,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[32,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[33,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[34,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[35,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[36,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[37,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[38,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[39,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[40,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[41,18] cannot find symbol
[ERROR] symbol: class ChoiceBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[42,18] cannot find symbol
[ERROR] symbol: class CheckBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[43,18] cannot find symbol
[ERROR] symbol: class CheckBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[44,18] cannot find symbol
[ERROR] symbol: class CheckBox
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[45,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[46,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[47,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[48,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[49,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[50,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[51,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[52,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[53,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[54,18] cannot find symbol
[ERROR] symbol: class Label
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[55,18] cannot find symbol
[ERROR] symbol: class Button
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[56,18] cannot find symbol
[ERROR] symbol: class Button
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[57,18] cannot find symbol
[ERROR] symbol: class Button
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[58,18] cannot find symbol
[ERROR] symbol: class Button
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[59,18] cannot find symbol
[ERROR] symbol: class TextField
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[60,18] cannot find symbol
[ERROR] symbol: class TextField
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[61,18] cannot find symbol
[ERROR] symbol: class TextField
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[1666,23] cannot find symbol
[ERROR] symbol: class Event
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[3,26] package javafx.application does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[4,19] package javafx.fxml does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[5,20] package javafx.scene does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[6,20] package javafx.scene does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[7,20] package javafx.stage does not exist
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[9,37] cannot find symbol
[ERROR] symbol: class Application
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[11,17] cannot find symbol
[ERROR] symbol: class Stage
[ERROR] location: class com.nttdata.altemista.MainController
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[12,17] cannot find symbol
[ERROR] symbol: class Parent
[ERROR] location: class com.nttdata.altemista.MainController
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/MainController.java:[15,27] cannot find symbol
[ERROR] symbol: class Stage
[ERROR] location: class com.nttdata.altemista.MainController
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[25,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[26,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[27,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[28,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[29,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[30,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[31,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[32,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[33,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[34,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[35,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[36,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[37,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[38,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[39,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[40,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[41,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[42,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[43,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[44,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[45,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[46,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[47,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[48,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[49,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[50,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[51,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[52,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[53,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[54,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[55,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[56,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[57,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[58,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[59,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[60,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] /tmp/src/src/main/java/com/nttdata/altemista/Controller.java:[61,5] cannot find symbol
[ERROR] symbol: class FXML
[ERROR] location: class com.nttdata.altemista.Controller
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project PricingCalculator: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:858)
at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Aborting due to error code 1 for Maven build
error: build error: non-zero (13) exit code from registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift#sha256:78af15475eac13d2ff439b33a9c3bdd39147858a824c420e8042fd5f35adce15
It's a javafx project.
I hope somebody can help me.
If you need some more information please ask. How I said, I'm new with OpenShift and don't know what is important.
I have upgraded my project to jdk-9 env. But when I pushed the branch, I met a building problem that travis-ci didn’t find the package “Javax.json” as following:
My configuration:
{
"language": "java",
"install": "mvn install -DskipTests=true -Dmaven.javadoc.skip=true",
"jdk": "oraclejdk9",
"group": "stable",
"dist": "trusty",
"os": "linux"
}
Error information(partly):
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/helloidea/HelloIdea.java:[7,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[14,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[15,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[48,9] cannot find symbol
symbol: class JsonObjectBuilder
location: class com.arvinsichuan.mongojdbc.MongoJDBC
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[48,41] cannot find symbol
symbol: variable Json
location: class com.arvinsichuan.mongojdbc.MongoJDBC
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.799 s
[INFO] Finished at: 2017-09-22T05:49:56Z
[INFO] Final Memory: 23M/512M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-
plugin:3.1:compile (default-compile) on project JEETwentySeventeenAutumn:
Compilation failure: Compilation failure:
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/helloidea/HelloIdea.java:[7,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[14,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[15,18] package javax.json does not exist
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[48,9] cannot find symbol
[ERROR] symbol: class JsonObjectBuilder
[ERROR] location: class com.arvinsichuan.mongojdbc.MongoJDBC
[ERROR] /home/travis/build/ArvinSiChuan/TwentySeventeenAutumn/src/main/java/com/arvinsichuan/mongojdbc/MongoJDBC.java:[48,41] cannot find symbol
[ERROR] symbol: variable Json
[ERROR] location: class com.arvinsichuan.mongojdbc.MongoJDBC
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
The command "mvn install -DskipTests=true -Dmaven.javadoc.skip=true" failed
and exited with 1 during .
Your build has been stopped.
Add the dependency:
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.1</version>
</dependency>
I make as here:
see highest voted answer
added to my pom.xml
<profiles>
<profile>
<id>otherOutputDir</id>
<build>
<directory>yourDirectory</directory>
</build>
</profile>
</profiles>
in cmd:
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI>mvn compile -PotherOutputDir
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hhsystem ui 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # ui ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) # ui ---
[WARNING] File encoding has not been set, using platform encoding Cp1251, i.e. build is platform dependent!
[INFO] Compiling 11 source files to C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\yourDirectory\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bad path element "": no such file or directory
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.java:[8,29]
cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[12,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.MyContextListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[8,29] cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[14,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.MyApplicationListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[9,29] cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[14,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.ApplicationWebListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[12,23] package org.apache.log4j does not exist
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,16] cannot find symbol
symbol : class Logger
location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\AbstractController.ja
va:[49,20] cannot find symbol
symbol : method getAllSkills()
location: class com.epam.hhsystem.services.UtilService
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,32] cannot find symbol
symbol : variable Logger
location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[59,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[63,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[64,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[65,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[66,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\VacancyMenuController
.java:[79,20] cannot find symbol
symbol : method getAllSkills()
location: class com.epam.hhsystem.services.UtilService
[INFO] 16 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.463s
[INFO] Finished at: Wed Oct 23 15:27:20 MSK 2013
[INFO] Final Memory: 21M/162M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project ui:
Compilation failure: Compilation failure:
[ERROR] bad path element "": no such file or directory
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[8,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[12,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.MyContextListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[8,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[14,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.MyApplicationListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[9,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[14,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.ApplicationWebListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[12,23] package org.apache.log4j does not exist
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,16] cannot find symbol
[ERROR] symbol : class Logger
[ERROR] location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\AbstractController.ja
va:[49,20] cannot find symbol
[ERROR] symbol : method getAllSkills()
[ERROR] location: class com.epam.hhsystem.services.UtilService
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,32] cannot find symbol
[ERROR] symbol : variable Logger
[ERROR] location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[59,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[63,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[64,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[65,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[66,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\VacancyMenuController
.java:[79,20] cannot find symbol
[ERROR] symbol : method getAllSkills()
[ERROR] location: class com.epam.hhsystem.services.UtilService
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI>
What the reason of this problem?
UPDATE
ChristophT,
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI>mvn -P otherOutputDir compile
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hhsystem ui 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # ui ---
[debug] execute contextualize
[WARNING] Using platform encoding (Cp1251 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) # ui ---
[WARNING] File encoding has not been set, using platform encoding Cp1251, i.e. build is platform dependent!
[INFO] Compiling 11 source files to C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\yourDirectory\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bad path element "": no such file or directory
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.java:[8,29]
cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[12,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.MyContextListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[8,29] cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[14,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.MyApplicationListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[9,29] cannot find symbol
symbol : class DatabaseHelper
location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[14,1] cannot find symbol
symbol : class DatabaseHelper
location: class com.epam.hhsystem.web.controllers.ApplicationWebListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[12,23] package org.apache.log4j does not exist
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,16] cannot find symbol
symbol : class Logger
location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\AbstractController.ja
va:[49,20] cannot find symbol
symbol : method getAllSkills()
location: class com.epam.hhsystem.services.UtilService
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,32] cannot find symbol
symbol : variable Logger
location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[59,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[63,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[64,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[65,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[66,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\VacancyMenuController
.java:[79,20] cannot find symbol
symbol : method getAllSkills()
location: class com.epam.hhsystem.services.UtilService
[INFO] 16 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.632s
[INFO] Finished at: Wed Oct 23 16:19:42 MSK 2013
[INFO] Final Memory: 22M/257M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project ui:
Compilation failure: Compilation failure:
[ERROR] bad path element "": no such file or directory
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[8,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyContextListener.jav
a:[12,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.MyContextListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[8,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\MyApplicationListener
.java:[14,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.MyApplicationListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[9,29] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: package com.epam.hhsystem.util
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\ApplicationWebListene
r.java:[14,1] cannot find symbol
[ERROR] symbol : class DatabaseHelper
[ERROR] location: class com.epam.hhsystem.web.controllers.ApplicationWebListener
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[12,23] package org.apache.log4j does not exist
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,16] cannot find symbol
[ERROR] symbol : class Logger
[ERROR] location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\AbstractController.ja
va:[49,20] cannot find symbol
[ERROR] symbol : method getAllSkills()
[ERROR] location: class com.epam.hhsystem.services.UtilService
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[24,32] cannot find symbol
[ERROR] symbol : variable Logger
[ERROR] location: class com.epam.hhsystem.web.controllers.CustomAuthentificationProvider
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[59,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[63,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[64,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[65,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\CustomAuthentificatio
nProvider.java:[66,17] [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
[ERROR] C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\src\main\java\com\epam\hhsystem\web\controllers\VacancyMenuController
.java:[79,20] cannot find symbol
[ERROR] symbol : method getAllSkills()
[ERROR] location: class com.epam.hhsystem.services.UtilService
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI>
The mvn command takes options before the goals. Plus a space is missing between -P and otherOutputDir. So following command should work:
mvn -P otherOutputDir compile
I have downloaded the latest highcharts-exporter following the instructions here. I am running this on Windows7 x64 locally and it will eventually be in a Windows production environment using Jetty9.
I have changed one line in highcharts-export/src/main/resources/app.properties:
# location of the phantomjs executable, could be for example /usr/local/bin/phantomjs
exec = /Scripts/phantomjs
I have maven (3.0.5) installed and configured. I last built this project before the 3.x release of HighCharts. That build was successful.
When I try to build now I get the following output. Any info here would be great.
EDIT
It appears that these errors are caused by left over files from previous version of highcharts-export. I have done a complete clean of the entire directory to start fresh. I am still getting one error that makes it not build:
C:\hc-exporter>mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.highcharts.export:highcharts-export:war:2.0.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ecli
pse-plugin is missing. # line 150, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support buildin
g such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building highcharts-export 2.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) # highcharts-export --
-
[INFO] Deleting C:\hc-exporter\target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) # highcharts
-export ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) # highcharts-ex
port ---
[INFO] Compiling 13 source files to C:\hc-exporter\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact
ory.java:[68,29] error: cannot find symbol
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.652s
[INFO] Finished at: Thu May 16 13:53:36 EDT 2013
[INFO] Final Memory: 11M/154M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project highcharts-export: Compilation failure
[ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact
ory.java:[68,29] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
C:\hc-exporter>
Old errors - just here for reference.
C:\hc-exporter>mvn -version Apache Maven 3.0.5
(r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 08:51: 28-0500)
Maven home: C:\apache-maven-3.0.5 Java version: 1.7.0_10, vendor:
Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_10\jre
Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7",
version: "6.1", arch: "amd64", family: "windows" C:\hc-exporter>mvn
clean package [INFO] Scanning for projects... [WARNING] [WARNING] Some
problems were encountered while building the effective model for
com.highcharts.export:highcharts-export:war:2.0.1 [WARNING]
'build.plugins.plugin.version' for org.apache.maven.plugins:maven-ecli
pse-plugin is missing. # line 150, column 12 [WARNING] [WARNING] It is
highly recommended to fix these problems because they threaten t he
stability of your build. [WARNING] [WARNING] For this reason, future
Maven versions might no longer support buildin g such malformed
projects. [WARNING] [INFO] [INFO]
------------------------------------------------------------------------ [INFO] Building highcharts-export 2.0.1 [INFO]
------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) #
highcharts-export --
- [INFO] Deleting C:\hc-exporter\target [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) # highcharts
-export --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) #
highcharts-ex port --- [INFO] Compiling 16 source files to
C:\hc-exporter\target\classes [INFO]
------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO]
------------------------------------------------------------- [ERROR] C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[8,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[9,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[10,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[11,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[12,40] error: package org.apache.batik.transcoder.image does not
exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[13,40] error: package org.apache.batik.transcoder.image does not
exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[14,25] error: package org.apache.fop.svg does not exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[32,34] error: cannot find symbol [ERROR] symbol: class
TranscoderException location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[63,1
5] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFactory.java
:[68,29] error: cannot find symbol [ERROR] symbol: variable ACTIVE
location: class ServerState
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[34,2
] error: cannot find symbol [ERROR] symbol: class TranscoderInput
location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[34,3
0] error: cannot find symbol [ERROR] symbol: class TranscoderInput
location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[35,2
] error: cannot find symbol [ERROR] symbol: class TranscoderOutput
location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[35,3
7] error: cannot find symbol [ERROR] symbol: class
TranscoderOutput location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[37,2
] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[45,3
3] error: cannot find symbol [ERROR] symbol: variable
SVGAbstractTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[53,3
4] error: cannot find symbol [ERROR] symbol: variable
SVGAbstractTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[66,2
] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[70,2
0] error: cannot find symbol [ERROR] symbol: class PNGTranscoder
location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[73,2
0] error: cannot find symbol [ERROR] symbol: class JPEGTranscoder
location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[74,3
3] error: cannot find symbol [ERROR] symbol: variable
JPEGTranscoder location: class SVGRasterizer
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.java:[78,2
0] error: cannot find symbol [INFO] 22 errors [INFO]
------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO]
------------------------------------------------------------------------ [INFO] Total time: 7.741s [INFO] Finished at: Thu May 16 12:54:29 EDT
2013 [INFO] Final Memory: 11M/122M [INFO]
------------------------------------------------------------------------ [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
5.1:compile (default-compile) on project highcharts-export: Compilation failure: Compilation failure: [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[8,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[9,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[10,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[11,34] error: package org.apache.batik.transcoder does not exist
[ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[12,40] error: package org.apache.batik.transcoder.image does not
exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[13,40] error: package org.apache.batik.transcoder.image does not
exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[14,25] error: package org.apache.fop.svg does not exist [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[32,34] error: cannot find symbol [ERROR] symbol: class
TranscoderException [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[63,15] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\pool\ServerObjectFact
ory.java:[68,29] error: cannot find symbol [ERROR] symbol: variable
ACTIVE [ERROR] location: class ServerState [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[34,2] error: cannot find symbol [ERROR] symbol: class
TranscoderInput [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[34,30] error: cannot find symbol [ERROR] symbol: class
TranscoderInput [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[35,2] error: cannot find symbol [ERROR] symbol: class
TranscoderOutput [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[35,37] error: cannot find symbol [ERROR] symbol: class
TranscoderOutput [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[37,2] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[45,33] error: cannot find symbol [ERROR] symbol: variable
SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[53,34] error: cannot find symbol [ERROR] symbol: variable
SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[66,2] error: cannot find symbol [ERROR] symbol: class
SVGAbstractTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[70,20] error: cannot find symbol [ERROR] symbol: class
PNGTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[73,20] error: cannot find symbol [ERROR] symbol: class
JPEGTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[74,33] error: cannot find symbol [ERROR] symbol: variable
JPEGTranscoder [ERROR] location: class SVGRasterizer [ERROR]
C:\hc-exporter\src\main\java\com\highcharts\export\util\SVGRasterizer.ja
va:[78,20] error: cannot find symbol [ERROR] -> [Help 1] [ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable
full debug logging. [ERROR] [ERROR] For more information about the
errors and possible solutions, please rea d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc eption
C:\hc-exporter>
This has now been fixed in the Highcharts repository on Github. So you won't need the patch anymore, just pull in the changes
I have found a solution to this problem.
zhiweihu has upload a patch that solves the issue. The problem is that ServerState class do not have the ACTIVE state.
Once you have applied the patch, you can create the package without a problem and it works as expected.
I've got an application with Groovy and Java classes. Compilation under IDEA 11 works fine, but when i'm trying to compile with Maven it fails.
Project structure: src/main/groovy - for groovy classes, src/main/java - for java classes. For example, class TemplateWriter tries to use groovy class AbstractTemplate.
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\io\TemplateWriter.java:[16,29] cannot find symbol
symbol : class AbstractTemplate
Similar answers here. But nothing helps :(
My pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>adapter-builder</groupId>
<artifactId>adapter-builder</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>2.0.5</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.7</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
The whole output from maven:compile
"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\java" -Dclassworlds.conf=C:\apache-maven-2.2.1\bin\m2.conf -Dmaven.home=C:\apache-maven-2.2.1 -Didea.launcher.port=7535 "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.0\bin" -Dfile.encoding=UTF-8 -classpath "C:\apache-maven-2.2.1\boot\classworlds-1.1.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 11.0\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast --no-plugin-updates --strict-checksums --update-snapshots -f D:\Projects\SMEV\_Generator\adapter-builder\pom.xml compile
+ Enabling strict checksum verification on all artifact downloads.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - adapter-builder:adapter-builder:jar:1.0
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\Projects\SMEV\_Generator\adapter-builder\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 37 source files to D:\Projects\SMEV\_Generator\adapter-builder\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[7,0] package com.itransition.smev.builder.templates does not exist
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\io\TemplateWriter.java:[3,45] package com.itransition.smev.builder.templates does not exist
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\io\TemplateWriter.java:[16,29] cannot find symbol
symbol : class AbstractTemplate
location: class com.itransition.smev.builder.io.TemplateWriter
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[23,8] cannot find symbol
symbol : class VarTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[23,35] cannot find symbol
symbol : class VarTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[38,8] cannot find symbol
symbol : class WsXwikiSetDocTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[38,45] cannot find symbol
symbol : class WsXwikiSetDocTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[46,8] cannot find symbol
symbol : class WsXwikiSetDocRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[46,52] cannot find symbol
symbol : class WsXwikiSetDocRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[57,8] cannot find symbol
symbol : class WsXwikiSetDocResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[57,53] cannot find symbol
symbol : class WsXwikiSetDocResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[68,8] cannot find symbol
symbol : class WsXwikiGetSignRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[68,53] cannot find symbol
symbol : class WsXwikiGetSignRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[79,8] cannot find symbol
symbol : class WsFoivRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[79,45] cannot find symbol
symbol : class WsFoivRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[89,8] cannot find symbol
symbol : class TplRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[89,42] cannot find symbol
symbol : class TplRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[99,8] cannot find symbol
symbol : class TplResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[ERROR] \Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[99,43] cannot find symbol
symbol : class TplResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[INFO] 19 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[7,0] package com.itransition.smev.builder.templates does not exist
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\io\TemplateWriter.java:[3,45] package com.itransition.smev.builder.templates does not exist
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\io\TemplateWriter.java:[16,29] cannot find symbol
symbol : class AbstractTemplate
location: class com.itransition.smev.builder.io.TemplateWriter
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[23,8] cannot find symbol
symbol : class VarTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[23,35] cannot find symbol
symbol : class VarTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[38,8] cannot find symbol
symbol : class WsXwikiSetDocTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[38,45] cannot find symbol
symbol : class WsXwikiSetDocTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[46,8] cannot find symbol
symbol : class WsXwikiSetDocRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[46,52] cannot find symbol
symbol : class WsXwikiSetDocRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[57,8] cannot find symbol
symbol : class WsXwikiSetDocResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[57,53] cannot find symbol
symbol : class WsXwikiSetDocResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[68,8] cannot find symbol
symbol : class WsXwikiGetSignRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[68,53] cannot find symbol
symbol : class WsXwikiGetSignRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[79,8] cannot find symbol
symbol : class WsFoivRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[79,45] cannot find symbol
symbol : class WsFoivRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[89,8] cannot find symbol
symbol : class TplRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[89,42] cannot find symbol
symbol : class TplRequestTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[99,8] cannot find symbol
symbol : class TplResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
\Projects\SMEV\_Generator\adapter-builder\src\main\java\com\itransition\smev\builder\core\AdapterFileGenerator.java:[99,43] cannot find symbol
symbol : class TplResponseTemplate
location: class com.itransition.smev.builder.core.AdapterFileGenerator
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Dec 07 04:57:10 VET 2012
[INFO] Final Memory: 12M/33M
[INFO] ------------------------------------------------------------------------
Process finished with exit code 1