Incorrect path to sikulixapi.jar

Asked by Jesper

I'm using SikuliX in NetBeans to create a test. I added the dependency to my .pom file. When I try to run my test, I get the following error:

[error] RunTimeINIT: addToClasspath: does not exist - not added:
C:\Users\Jesper\Documents\NetBeansProjects\ElDiablo\Diablo2d\application\file:\C:\Users\Jesper\Documents\NetBeansProjects\ElDiablo\Diablo2d\application\target\diablo2d\diablo2d\modules\ext\com.se.sem4.group2.Core\com-sikulix\sikulixapi.jar!
*** classpath dump
0: /C:/Users/Jesper/Documents/NetBeansProjects/ElDiablo/Diablo2d/application/target/surefire/surefirebooter2216122235168821312.jar
*** classpath dump end
[error] RunTimeINIT: *** terminating: libs to export not found on above classpath: /sikulixlibs/windows/libs64

As you can see, the path to the .jar file is all wrong. If the first "C:\Users\Jesper\Documents\NetBeansProjects\ElDiablo\Diablo2d\application\" had been cut off, the path would be correct.

My question is why the first part of the path has been duplicated, and how do I change it?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

using the latest 1.1.1 nightly?

Take care, that sikulixapi.jar is on classpath at test runtime to not trigger this may be buggy part ;-)

Revision history for this message
Jesper (jesperbager) said :
#2

I'm not exactly sure what nightly is. How do I check my version of that?

Revision history for this message
RaiMan (raimund-hocke) said :
#3

Can you help with this problem?

Provide an answer of your own, or ask Jesper for more information if necessary.

To post a message you must log in.