Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

922
Vistas
Actualizar a Gradle 7.3, Java 17

Quería actualizar gradle a 7.3 desde 5.6 y no puedo hacerlo. Tengo este problema durante el proyecto de compilación (tengo Java 17). Leí que la versión Gradle> 7 tiene algunos problemas, ¿quizás sabes qué está mal? gracias por responder

Este es el registro después del proyecto de compilación con gradle 7.3:

 Some problems were found with the configuration of task ':api:TemplateServices-api:generateSwaggerCodeDocs' (type 'GenerateSwaggerCode'). - In plugin 'org.hidetake.swagger.generator' type 'org.hidetake.gradle.swagger.generator.GenerateSwaggerCode' property 'adaptorFactory' is missing an input or output annotation. Reason: A property without annotation isn't considered during up-to-date checking. Possible solutions: 1. Add an input or output annotation. 2. Mark it as @Internal. Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#missing_annotation for more details about this problem. - In plugin 'org.hidetake.swagger.generator' type 'org.hidetake.gradle.swagger.generator.GenerateSwaggerCode' property 'configFile' is annotated with @InputFile but missing a normalization strategy. Reason: If you don't declare the normalization, outputs can't be re-used between machines or locations on the same machine, therefore caching efficiency drops significantly. Possible solution: Declare the normalization strategy by annotating the property with either @PathSensitive, @Classpath or @CompileClasspath. Please refer to https://docs.gradle.org/7.3/userguide/validation_problems.html#missing_normalization_annotation for more details about this problem. - In plugin 'org.hidetake.swagger.generator' type 'org.hidetake.gradle.swagger.generator.GenerateSwaggerCode' property 'wipeOutputDir' of type boolean shouldn't be annotated with @Optional. Reason: Properties of primitive type cannot be optional.```
over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Resolví estos errores

Si necesita solucionar estos problemas, debe verificar su:

  • versión lombok
  • org.springframework.boot:versión spring-boot-gradle-plugi
  • intente agregar la dependencia springfox-boot-starter (3.0.0)
  • comprobar la versión io.springfox:springfox-swagger
  • org.openapitools:openapi-generator-gradle-plugin versión
  • verifique los archivos swagger (archivos .mustache, gradle.build, versión)
  • intente agregar org.gradle.jvmargs=--add-opens=java.util=ALL-UNNAMED a las propiedades de gradle
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda