I am currently working on a Java project using Maven. In my pom.xml
I am getting this error.
Missing artifact com.bea.xml:jsr173-ri:jar:1.0
I have added this dependency
<dependency>
<groupId>com.bea.xml</groupId>
<artifactId>jsr173-ri</artifactId>
<version>1.0</version>
</dependency>
to my pom.xml
. But still the error is same.
Am I missing adding repository for jsr173-ri
dependency? I am also not getting repository to add in my pom.xml
.
Can someone suggest me repository code for jsr173-ri
to add in my pom.xml
?
The error in pom. xml “missing artifact maven” occurs when the artifact is missing in local repository and remote repository. In eclipse, missing artifact maven error shows in the programs window. Maven is a software tool for building artifacts.
Look in your . m2 directory (use the paths which you see in the dialog above) and check whether the files are there or whether they are really missing. If they are missing, run "mvn install" (see the "Run as..." menu) to download them.
com.bea.xml
is not available in public repositories(Download size is zero). Therefore you need to download the JAR file and manually install it in to your local repo.
Some useful links: Manually install dependency
Step1: Add that missing jar in C:\Users\{your name}\.m2\repository\{dep jar folder}\{version-RELEASE}\{missing jar}
Step2: In Eclipse, right click on pom.xml -> go to Maven ->Add Dependency Step3: Look for jar name in Enter groupId, artifactId Step4: Select it in Search Results: and click OK.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With