Skip to content

Build Failure "cannot find symbol" #41

@sasconsul

Description

@sasconsul

Here is a transcript of the mvn install command run on my Mac.

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.versly:versly-wsdoc:jar:1.1-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.commons:commons-lang3:jar -> version 3.1 vs 3.3.2 @ line 114, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 137, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Web Service Documentation Generator 1.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repository-master.mulesoft.org/nexus/content/repositories/public/org/raml/raml-parser/0.9-SNAPSHOT/maven-metadata.xml
Downloaded: https://repository-master.mulesoft.org/nexus/content/repositories/public/org/raml/raml-parser/0.9-SNAPSHOT/maven-metadata.xml (979 B at 0.3 KB/sec)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ versly-wsdoc ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ versly-wsdoc ---
[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 16 source files to /Users/stuart/devenv/wsdoc-master/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /Users/stuart/devenv/wsdoc-master/src/main/java/org/versly/rest/wsdoc/impl/RestDocumentation.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/stuart/devenv/wsdoc-master/src/main/java/org/versly/rest/wsdoc/impl/RestDocumentation.java: Recompile with -Xlint:unchecked for details.
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/stuart/devenv/wsdoc-master/src/main/java/org/versly/rest/wsdoc/AnnotationProcessor.java:[62,38] cannot find symbol
symbol: variable RELEASE_8
location: class javax.lang.model.SourceVersion
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.054 s
[INFO] Finished at: 2015-03-13T16:12:22-07:00
[INFO] Final Memory: 16M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project versly-wsdoc: Compilation failure
[ERROR] /Users/stuart/devenv/wsdoc-master/src/main/java/org/versly/rest/wsdoc/AnnotationProcessor.java:[62,38] cannot find symbol
[ERROR] symbol: variable RELEASE_8
[ERROR] location: class javax.lang.model.SourceVersion
[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions