2016-05-09 6 views
1

私は日食で初めてsikuliを使用しています。私はsikuliスクリプトjarファイルを自分のプロジェクトにインポートし、スクリーンとパターンクラスを使用しました。私はEclipseでSikuliを使用できるようにするためにエラーSikuliの "Fatal error"、libsディレクトリがシステムパスにありません

[error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: D:\libs 
[action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path 
[info] runcmd: reg QUERY HKCU 
[info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH 
[error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated) 
[error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue! 
If you do not have any idea about the error cause or solution, run again 
with a Debug level of 3. You might paste the output to the Q&A board. 
+1

**エラーの原因または解決方法がわからない場合は、デバッグレベルが3 ** – EpicPandaForce

+0

の をもう一度実行してください。エラーログにプロンプ​​トが表示されたときに、D:\ libsが不足しています。あなたのPATH。あなたがそれを追加する方法を知らない場合、PATHエントリを追加する方法をGoogleに教えてください。 – glee8e

+0

https://answers.launchpad.net/sikuli/+question/258555 –

答えて

0

の下に取得しています

、ジャーをインポートするだけでは十分ではありません。

<dependencies> 
    <dependency> 
     <groupId>com.sikulix</groupId> 
     <artifactId>sikulixapi</artifactId> 
     <version>1.1.0</version> 
    </dependency> 
    </dependencies> 

はちょうどあなたが使用しているものは何でもセレンバージョンと一緒にあなたのMaven POMにそれを取得し、ここであなたが行く:あなたはSikuli APIへのアクセスを持っているしたい場合は、以下の依存関係を使用することができます。

関連する問題