Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

921
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda