Open pranabenator opened 4 years ago
Pom file needed to be changed, just add this plugin to the pom file
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>12</release>
</configuration>
</plugin>
</build>
</plugins>
and remove the following lines fro the pom file
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.0</maven.compiler.target>
The diagnostic (last few lines) are following. Downloaded from central: https://repo.maven.apache.org/maven2/com/google/collections/google-collections/1.0/google-collections-1.0.jar (640 kB at 143 kB/s) Changes detected - recompiling the module! Compiling 3 source files to C:\Users\Pa'ani PC\projects\handwritten_amount_recognition\multi-digit-segmentation-and-recognition\target\classes WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release
BUILD FAILURE
Total time: 03:19 min Finished at: 2020-08-21T10:46:38+05:30
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project DigitRecognition: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags -> [Help 1]
To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException