DEV Community

Alex Martinez
Alex Martinez

Posted on

2

Quick fix: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found

I've been having this issue in several Mule applications, but all of them happen while I'm trying to use CI/CD pipelines.

The full thing I got was this:

org.mule.maven.client.api.exception.BundleDependencyNotFoundException: org.eclipse.aether.resolution.ArtifactResolutionException: com.github.everit-org.json-schema:org.everit.json.schema:jar:1.12.2 was not found in https://maven.anypoint.mulesoft.com/api/v3/maven during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of anypoint-exchange-v3 has elapsed or updates are forced

Enter fullscreen mode Exit fullscreen mode

In summary, this happens because the repositories you are using in your pom.xml don't include this dependency that is needed from MuleSoft for something.

This last time I encountered it, I fixed it using the Nexus public repo (because my specific use case doesn't use the Nexus credentials).

Add this to your pom.xml under the <repositories> tag to fix it:

<repository>
    <id>Nexus</id>
    <name>Nexus Public Repository</name>
    <url>https://repository-master.mulesoft.org/nexus/content/groups/public/</url>
    <layout>default</layout>
</repository>
Enter fullscreen mode Exit fullscreen mode

Here's the repo where I did this fix: squirrel-app.

You don't need to set up Nexus credentials or anything on settings.xml. This should be good enough.

If this doesn't fix your issue, please get in touch cause I want to make sure I got this fix right.

Heroku

Amplify your impact where it matters most — building exceptional apps.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (3)

Collapse
 
mitchell_young profile image
Mitchell Young

Hi Alex!
In my case this works!

Collapse
 
devalexmartinez profile image
Alex Martinez

thanks for confirming!

Collapse
 
smruthi_littleangel_2b94 profile image
smruthi little angel

Still getting this error for me:

Failed to read artifact descriptor for com.github.everit-org.json-schema:org.everit.json.schema🫙1.12.2
Error: Caused by: The following artifacts could not be resolved: com.github.everit-org.json-schema:org.everit.json.schema:pom:1.12.2 (absent): Could not transfer artifact com.github.everit-org.json-schema:org.everit.json.schema:pom:1.12.2 from/to codehaus-mule-repo (repository-master.mulesoft.org/nex... PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

ACI image

ACI.dev: The Only MCP Server Your AI Agents Need

ACI.dev’s open-source tool-use platform and Unified MCP Server turns 600+ functions into two simple MCP tools on one server—search and execute. Comes with multi-tenant auth and natural-language permission scopes. 100% open-source under Apache 2.0.

Star our GitHub!