ocular icon indicating copy to clipboard operation
ocular copied to clipboard

On adding Ocular dependency getting error "Missing artifact net.sf:jargs:jar:1.0"

Open amar212b opened this issue 5 years ago • 5 comments

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

amar212b avatar Feb 21 '20 12:02 amar212b

Looking for quick reply please

amar212b avatar Feb 24 '20 06:02 amar212b

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

uselvvi avatar Feb 25 '20 20:02 uselvvi

Still didnt worked ,its not able to find this jar

amar212b avatar Feb 27 '20 11:02 amar212b

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

amar212b avatar Feb 27 '20 12:02 amar212b

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'

JustinHolzman avatar Oct 10 '22 22:10 JustinHolzman