1

I am not familiar with maven but I need to add a jnativehook dependency in a Java/Jersey project. I tried to add this dependency in my pom.xml

<dependency>
  <groupId>com.1stleg</groupId>
  <artifactId>system-hook</artifactId>
  <version>2.0.3</version>
</dependency>

But I get an error on Eclipse

Missing artifact com.1stleg:system-hook:jar:2.0.3

1 Answer 1

1

According this, it should be:

<dependency>
    <groupId>com.1stleg</groupId>
    <artifactId>jnativehook</artifactId>
    <version>2.0.3</version>
</dependency>

instead of

<dependency>
  <groupId>com.1stleg</groupId>
  <artifactId>system-hook</artifactId>
  <version>2.0.3</version>
</dependency>

Hope it helps!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.