Skip to content

Error with mvn compile on OS X / Java 11 #1

@epaull

Description

@epaull

(base) (venv) evanpaull-MBP:fireworks-layout evanpaull$ mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.reactome.server:fireworks-layout >----------------
[INFO] Building fireworks 2.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ fireworks-layout ---
[INFO] Deleting /Users/evanpaull/Documents/fireworks-layout/target
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ fireworks-layout ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ fireworks-layout ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /Users/evanpaull/Documents/fireworks-layout/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Bursts.java:[7,24] cannot find symbol
symbol: class Generated
location: package javax.annotation
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Bursts.java:[15,2] cannot find symbol
symbol: class Generated
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Burst.java:[8,24] cannot find symbol
symbol: class Generated
location: package javax.annotation
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Burst.java:[14,2] cannot find symbol
symbol: class Generated
[INFO] 4 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.207 s
[INFO] Finished at: 2020-01-27T15:58:34-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project fireworks-layout: Compilation failure: Compilation failure:
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Bursts.java:[7,24] cannot find symbol
[ERROR] symbol: class Generated
[ERROR] location: package javax.annotation
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Bursts.java:[15,2] cannot find symbol
[ERROR] symbol: class Generated
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Burst.java:[8,24] cannot find symbol
[ERROR] symbol: class Generated
[ERROR] location: package javax.annotation
[ERROR] /Users/evanpaull/Documents/fireworks-layout/src/main/java/org/reactome/server/fireworks/layout/Burst.java:[14,2] cannot find symbol
[ERROR] symbol: class Generated
[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