Hi I am porting my plugins to Netbeans 10, but all of them have this error. It auto generated a java file called Bundle.java and it is unable to compile since it can't find @javax.annotation.Generated
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project netbeans-antlr: Compilation failure: Compilation failure: [ERROR] /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/syntax/antlr3/realtimecompile/Bundle.java:[3,17] error: cannot find symbol [ERROR] symbol: class Generated [ERROR] location: package javax.annotation [ERROR] /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/Bundle.java:[3,17] error: cannot find symbol [ERROR] symbol: class Generated [ERROR] location: package javax.annotation [ERROR] /Users/peter/workspace/netbeans-antlr/target/generated-sources/annotations/com/github/mcheung63/netbeans/antlr/syntax/antlr4/realtimecompile/Bundle.java:[3,17] error: cannot find symbol [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 Thanks >From Peter
