Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven build failure #2

Closed
fiendish opened this issue Mar 3, 2020 · 0 comments · Fixed by #3
Closed

maven build failure #2

fiendish opened this issue Mar 3, 2020 · 0 comments · Fixed by #3

Comments

@fiendish
Copy link
Contributor

fiendish commented Mar 3, 2020

[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< au.csiro:fhir-owl >--------------------------
[INFO] Building FHIR OWL 1.1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ fhir-owl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ fhir-owl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to ./fhir-owl/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] ./fhir-owl/src/main/java/au/csiro/fhir/owl/FhirOwlService.java:[32,24] cannot find symbol
  symbol:   class PostConstruct
  location: package javax.annotation
[ERROR] ./fhir-owl/src/main/java/au/csiro/fhir/owl/FhirOwlService.java:[101,4] cannot find symbol
  symbol:   class PostConstruct
  location: class au.csiro.fhir.owl.FhirOwlService
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.289 s
[INFO] Finished at: 2020-03-03T14:49:16-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project fhir-owl: Compilation failure: Compilation failure:
[ERROR] ./fhir-owl/src/main/java/au/csiro/fhir/owl/FhirOwlService.java:[32,24] cannot find symbol
[ERROR]   symbol:   class PostConstruct
[ERROR]   location: package javax.annotation
[ERROR] ./fhir-owl/src/main/java/au/csiro/fhir/owl/FhirOwlService.java:[101,4] cannot find symbol
[ERROR]   symbol:   class PostConstruct
[ERROR]   location: class au.csiro.fhir.owl.FhirOwlService
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant