Al compilar el buildSentilo.sh me sale este error, la verdad es que soy bastante novato con este tema y me gustaría ver si me podéis ayudar, ya que no se exactamente donde estaría el fallo, las variables de entorno de jdk y maven están correctamente.
Adjunto el error.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.163 s
[INFO] Finished at: 2022-04-26T12:06:26+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project sentilo-platform-common: Compilation failure: Compilation failure:
[ERROR] /opt/sentilo/sentilo-master/sentilo-platform/sentilo-platform-common/src/main/java/org/sentilo/platform/common/ratelimiter/service/InMemoryTokenBucketServiceImpl.java:[40,23] error: package javax.annotation does not exist
[ERROR] /opt/sentilo/sentilo-master/sentilo-platform/sentilo-platform-common/src/main/java/org/sentilo/platform/common/ratelimiter/service/InMemoryTokenBucketServiceImpl.java:[69,3] 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[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :sentilo-platform-common
Error code : 1
Gracias y un saludo.
Felipe.