. Advertisement .
..3..
. Advertisement .
..4..
While working with Spring Boot, we often get the following error – “The POM for org.raml:jaxrs-code-generator:jar:2.0.0 is missing, no dependency information available”. This problem is the result of a wrong Spring Boot version and a wrong Maven version. This blog explains how to resolve this.
How To Handle The Error “The POM for org.raml:jaxrs-code-generator:jar:2.0.0 is missing, no dependency information available”?
You might get the following error when attempting to install or compile mvn.
[WARNING] The POM for org.raml:jaxrs-code-generator:jar:2.0.0 is missing, no dependency information available
To fix this problem, simply add an external repository to the pom. This is because the Mulsoft-Release repository is being used instead of Maven Central. The second option is to simply remove the _remote.repositories file from your local repo, which contains this artifact. The project is now being built. You have solved your error.
Option 1: Include external Repository in pom
All you have to do now is including an external repository to the pom. This is because the Mulsoft-Release repository is being used instead of Maven Central.
<project> ... <repositories> <repository> <id>mulesoft-releases</id> <name>MuleSoft Repository</name> <url>http://repository.mulesoft.org/releases/</url> <layout>default</layout> </repository> </repositories> ... </project>
Option 2: Remove _remote.repositories file
Simply remove the _remote.repositories file from your local repo, which contains this artifact. The project is now being built. You have solved your error
Conclusion
We hope you enjoyed our article about this confusing error. With this knowledge, we know that you can fix the problem “The POM for org.raml:jaxrs-code-generator:jar:2.0.0 is missing, no dependency information available” quickly by following these steps! If you still have any other questions about fixing this syntax error, please leave a comment below. Thank you for reading!
Leave a comment