The files probably aren't in an /img directory off of your drive root. Try this. since you're keeping the files (for now) mixed in with your source, move them to a folder under main called resources/img. You should have src/main/kotlin and src/main/resources