欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

使用IDEA創(chuàng)建一個(gè)vert.x項(xiàng)目的方法

 更新時(shí)間:2018年09月12日 09:59:33   作者:xllyll  
這篇文章主要介紹了使用IDEA創(chuàng)建一個(gè)vert.x項(xiàng)目的方法,小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧

這里我使用的Gredle


2 選擇Gredle





3 修改build文件,添加vert.x 相關(guān)的資源


4 開始寫代碼了

package com.xllyll.demo.vertx;
 
import io.vertx.core.Vertx;
 
public class APP {
 
  public static void main(String[] args) {
    // Create an HTTP server which simply returns "Hello World!" to each request.
    Vertx.vertx().createHttpServer().requestHandler(req -> req.response().end("Hello World!")).listen(8080);
  } 
}



以上就是本文的全部內(nèi)容,希望對大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。

相關(guān)文章

最新評論