I'm trying spark on maven but I get this problem I want to show me the port but the runable
shows me this error
"anonymous class implements interface; can not have arguments"
Code
public class HelloWorldSparkStyle {
public static void main(String[] args) {
Spark.get(new Route("/"){
@Override
public Object handle(Request rqst, Response rspns) throws Exception
{
return "Hello World From Spark";
}
});
}
}