Closed coreyjackwilson closed 5 years ago
Which Jetty and Spark versions are you using?
This is the most recent Spark: 2.7.1 The Jetty that comes with Spark: 9.4.5.v20170502
I tried using an anonymous class instead of the lambda expression and it works.
From: http://sparkjava.com/tutorials/jetty-request-log
Error occurs with class:
Error message
java: incompatible types: spark.embeddedserver.jetty.JettyServerFactory is not a functional interface multiple non-overriding abstract methods found in interface spark.embeddedserver.jetty.JettyServerFactory
Please advise