1 | initial version |
The second answer works perfect! But there are two things that I wanna say: 1. You have to update the eclipse running class by typing "run" when you are running sbt in the windows command prompt. You can check this by clicking the console eclipse line error. (For example, if it says error in line 26, you click this one and you will see if the line error corresponds to the actual error. And the most important 2. The string which worked for me was /lena.png instead of resources/lena.png. It is very important.