On adding Ocular dependency getting error "Missing artifact net.sf:jargs:jar:1.0"
Hi,
Getting this error while adding Ocular dependency in POM
Project is not able to run due to this.
Need help to resolve and understand this
Looking for quick reply please
The jar you are mentioning is present in the maven repo. I am not sure of the reason why you would get that. I would suggest you check these options as it could be your local maven/IDE issue.
https://stackoverflow.com/questions/6111408/maven2-missing-artifact-but-jars-are-in-place
Still didnt worked ,its not able to find this jar
i ran maven clean install from CMD it gives the same error.
It seems it gives error since it doesnt find the specified jar in Nexus repository which is used by our organisation --Could not find artifact net.sf:jargs:jar:1.0 in nexus
Try this
repositories {
mavenCentral()
maven {
url "https://repository.jboss.org/nexus/content/repositories/thirdparty-releases/"
}
}
and add this in the dependencies
implementation group: 'net.sf', name: 'jargs', version: '1.0'