这里我使用的gredle
2 选择gredle
3 修改build文件,添加vert.x 相关的资源
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); } }
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持移动技术网。
如对本文有疑问, 点击进行留言回复!!
基于STM32F407 直播声卡实现的简易教程--I2S驱动篇
《单片机实践项目》之《电子DIY》之基于51单片机温度(DS18B20)采集系统设计(串口打印数据)
网友评论