https://kotlinlang.org logo
#ktor
Title
# ktor
f

frellan

01/14/2018, 1:44 PM
Copy code
Error: Main method not found in class ServerKt, please define the main method as:
   public static void main(String[] args)
b

bdawg.io

01/21/2018, 6:28 AM
You can’t use an extension function as a JVM main function because it compiles down to
ServerKt::main(Application $receiver)
which doesn’t match the required
main(String[] args)
signature
2 Views