> Could not resolve all files for configuration ':annotationProcessor'.
kevin70 opened this issue · 7 comments
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':annotationProcessor'.
> Could not find com.fasterxml.jackson:jackson-bom:2.13.4.1.
Searched in the following locations:
- file:/Users/yein/.m2/repository/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
- https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
Required by:
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1
> Could not find com.fasterxml.jackson:jackson-bom:2.13.4.1.
Searched in the following locations:
- file:/Users/yein/.m2/repository/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
- https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
Required by:
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1 > com.fasterxml.jackson.core:jackson-annotations:2.13.4
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1 > com.fasterxml.jackson.core:jackson-core:2.13.4
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Hi, No dependencies found.
jackson-bom:2.13.4.1.
have you defined this in your pom/gradle file by any chance? if so, you got an extra period.
@SentryMan
Hello, I didn't define this version. It should be defined here. See
I have manually defined the version of jackson, which can be solved.
annotationProcessor(platform("com.fasterxml.jackson:jackson-bom:2.14.0"))
The pom file there does not define any jackson bom dependency. It defines only jackson databind, for which 2.13.4.1 is valid. Even in the parent pom it is not defined.
Would it be possible to see the whole Gradle build file?
@SentryMan
Hello I created a project https://github.com/kevin70/avaje-http-samples.
Directly building the project will get error information.
> ./gradlew build
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':annotationProcessor'.
> Could not find com.fasterxml.jackson:jackson-bom:2.13.4.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1
> Could not find com.fasterxml.jackson:jackson-bom:2.13.4.1.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/fasterxml/jackson/jackson-bom/2.13.4.1/jackson-bom-2.13.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1 > com.fasterxml.jackson.core:jackson-annotations:2.13.4
project : > io.avaje:avaje-http-jex-generator:1.19 > io.avaje:avaje-http-generator-core:1.19 > com.fasterxml.jackson.core:jackson-databind:2.13.4.1 > com.fasterxml.jackson.core:jackson-core:2.13.4
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
we removed Jackson as a dependency, do you still see this issue?
resolved