Estou fazendo um trabalho para a Faculdade, porém não consigo de forma nenhuma o erro abaixo.
Alguém poderia me dar uma luz, por favor?
Abaixo erro, e o module-info do meu projeto.
------------------------------------------------------------------------ Total time: 2.120 s Finished at: 2020-11-16T20:25:21-03:00 ------------------------------------------------------------------------ Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project PickingList: Fatal error compiling: java.lang.NoClassDefFoundError: javax/annotation/Generated: javax.annotation.Generated -> [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
>
> module com.mycompany.pickinglist {
> requires javafx.controls;
> requires javafx.fxml;
> requires java.base;
> requires java.activation;
> requires java.annotation;
> requires java.persistence;
> requires javafx.base;
> requires javafx.graphics;
>
> exports com.mycompany.Main;
> opens com.mycompany to javafx.fxml;
> opens com.mycompany.Main to javafx.fml;
> }