Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

716
Views
Ningún procesador reclamó ninguna de estas anotaciones

Actualizado de Java 8 a Java 11 y recibe las siguientes advertencias para las anotaciones. Sugiera cómo resolverlo.

 [WARNING] No processor claimed any of these annotations: /org.springframework.context.annotation.Primary, /org.springframework.data.annotation.Id, /org.springframework.context.annotation.ComponentScan, /org.springframework.boot.autoconfigure.SpringBootApplication, /org.springframework.boot.context.properties.ConfigurationProperties, /org.springframework.data.mongodb.repository.Query, /com.fasterxml.jackson.annotation.JsonInclude, /javax.validation.constraints.NotNull, /org.springframework.context.annotation.ImportResource, /org.springframework.web.bind.annotation.DeleteMapping, /org.springframework.web.bind.annotation.PostMapping
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

El linter javac tiene una serie de advertencias que son realmente extravagantes y no puede desactivarlas individualmente. Este es uno de ellos. Sugeriría usar un linter diferente.

No puede desactivar esta advertencia específica, solo puede desactivar todas las advertencias del procesador de anotaciones con el indicador -processing en -Xlint , por ejemplo.

-Xlint:all,-serial,-processing

en experto:

 <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>${maven.compiler.source}</source> <target>${maven.compiler.target}</target> <showWarnings>true</showWarnings> <compilerArgs> <!-- We turn off: - `serial` because we don't use Java serialization (and all it does is stupidly complain about the serialVersionUID) - `processing` because it complains about every annotation --> <arg>-Xlint:all,-serial,-processing</arg> </compilerArgs> </configuration> </plugin>

Puede ver todas las advertencias que se desactivarán buscando "warn.proc" en compiler.properties . Puede ver todas las opciones de linter con javac --help-lint .

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!