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

Compilation error #25

Open
hshin222 opened this issue Feb 11, 2021 · 2 comments
Open

Compilation error #25

hshin222 opened this issue Feb 11, 2021 · 2 comments

Comments

@hshin222
Copy link

I am trying to run the test file but getting the compilation error. Any suggestions?

c:\SAFBuilder>safbuilder.bat -c C:\SAFBuilder\src\sample_data\AAA_batch-metadata.csv
[ERROR] COMPILATION ERROR :
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project safbuilder: Compilation failure: Compilation failure:
[ERROR] Source option 6 is no longer supported. Use 7 or later.
[ERROR] Target option 6 is no longer supported. Use 7 or later.
[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
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (default-cli) on project safbuilder: An exception occured while executing the Java class. safbuilder.BatchProcess -> [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/MojoExecutionException

@lbkitko
Copy link

lbkitko commented Feb 11, 2021 via email

@mbcbus
Copy link

mbcbus commented Nov 16, 2021

You can resolve this by changing lines 94 & 95 of the pom.xml file from 1.6 to 1.7, then running the command again.

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

No branches or pull requests

3 participants