eclipse で開発された groovy プロジェクトがあり、その中にパッケージ (hello) と groovy クラス (helloWorld.groovy) があります。jar をエクスポートしました (HelloWorld.jar と言います)。このjarをunixで実行しようとしています:-
groovy -cp /tmp/HelloWorld.jar hello.helloWorld
しかし、以下のエラーが発生します:-
Caught: java.io.FileNotFoundException: /tmp/hello.helloWorld (/tmp/hello.helloWorld)
java.io.FileNotFoundException: /tmp/hello.helloWorld (/tmp/hello.helloWorld)