Closed MichaelFay closed 3 years ago
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
@MichaelFay I cannot reproduce your problem with Ktor 1.5.1. Here is the sample project I've created from your description fatjar_static.zip. I did the following steps:
./gradlew fatjar
java -jar build/libs/fatjar_static-all.jar -port=9000
http://localhost:9000/
in a browserHey! I've just come across this and I am having the same issue, did anyone ever find a solution?
I am trying to compile and deploy a jat jar file that contains my business logic and static content. It runs perfectly fine in intellij however, when I build a jar for deployment through graddle I get resource not found. I have already modified my statics to use resources instead of files. Any help would be greatly appreciated.
Ktor Engine Used(client or server and name)
embedded netty
JVM Version, Operating System and Relevant Context
java 1.8.191, windows 10