dumb question but how to import embeddedServer?
# ktor
w
dumb question but how to import embeddedServer?
o
Are you using IntelliJ IDEA? It should import things for you automatically.
w
Yes I am. however it isn't resolving everything https://gist.github.com/anonymous/eaba14a5b089803f6ab5d8b64032dc74
embeddedServer and Netty for example won't resolve
o
Did you follow the quick start guide and added dependencies to correct modules?
w
yes I believe I followed instructions correctly https://gist.github.com/anonymous/8f15915e2bb8eb2a6103354a4961e6d6
o
Nope, you don’t have
compile "io.ktor:ktor-server-netty:$ktor_version"
in your build script
What guide are you following? May be some stalled version is online
w
w
God I am a bonehead. Thank you so much and sorry for wasting your time
🙂
o
No problem, enjoy ktor and ask more questions 🙂
❤️ 1
d
I have added a FAQ entry for this: http://ktor.io/servers/faq.html#ktor-artifact
👍 1
❤️ 1