'Missing artifact com.fasterxml.jackson.core:jackson-core:jar:1.9.11

I build a maven project and get an error on pom.xml Missing artifact in some dependencies. How can I resolve it?

enter image description here



Solution 1:[1]

I cannot see the value of ${jackson.version} on your image, but from the title of the question I assume it's version 1.9.11 you're looking for. If you check in any of the multiple maven repository viewers, like maven central, you'll see that version is not present, and therefore maven cannot resolve that dependency. Click this link to see the versions available in maven central.

You must choose an existing version from the central repository or, if you have version 1.9.11 in another repository, include that repository details in your pom.xml file.

Solution 2:[2]

From the Two Maven Dependencies

    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-core</artifactId>
        <version>2.13.2</version>
        <type>bundle</type>
    </dependency>

    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.13.2.2</version>
        <type>bundle</type>
    </dependency>

Remove the bundle tag from both the dependencies and keep the version almost same it will work else it will show the above mentioned error.

Solution 3:[3]

You have to specify property of the jackson.version and this can be done by adding the section shown below:

<properties>
<jackson.version>2.10.0</jackson.version>
</properties>

The version has been updated as per the recent documentation from Maven.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Micho
Solution 2 Prashant Biradar
Solution 3 MR AND