code: public static void main(String[] args) {
  		if (args == null || args.length == 0) {
  			server = com.jfinal.server.jetty.ServerFactory.getServer();
  			server.start();
  			return ;
  		}
  		
  		// for Eclipse
  		if (args.length == 4) {
  			String webAppDir = args[0];
  			int port = Integer.parseInt(args[1]);
  			String context = args[2];
  			int scanIntervalSeconds = Integer.parseInt(args[3]);
  			server = com.jfinal.server.jetty.ServerFactory.getServer(webAppDir, port, context, scanIntervalSeconds);
  			server.start();
  			return ;
  		}
  		
  		// for IDEA
  		if (args.length == 3) {
  			start(args[0], Integer.parseInt(args[1]), args[2]);
  			return ;
  		}
  		
  		throw new RuntimeException("Boot parameter error. The right parameter like this: src/main/webapp 80 / 5");
  	}
docs: Run JFinal Server with Debug Configurations or Run Configurations in Eclipse or IDEA
  Example for Eclipse:	src/main/webapp 80 / 5
  Example for IDEA:	src/main/webapp 80 /