micronaut pk spring boot

本文详细介绍了使用Micronaut框架构建微服务的过程,包括依赖包的引入、项目构建及运行情况。Micronaut是一个现代、易于使用的、全栈式Java框架,用于构建模块化、易于测试的微服务和APIs。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

https://github.com/micronaut-projects/micronaut-examples.git

[INFO] Including io.micronaut:micronaut-http-client:jar:1.0.1 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.7.25 in the shaded jar.
[INFO] Including io.reactivex.rxjava2:rxjava:jar:2.2.2 in the shaded jar.
[INFO] Including org.reactivestreams:reactive-streams:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-http-netty:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-buffer-netty:jar:1.0.1 in the shaded jar.
[INFO] Including io.netty:netty-buffer:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-common:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-codec-http:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-codec:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-handler:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-handler-proxy:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-transport:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-resolver:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.netty:netty-codec-socks:jar:4.1.30.Final in the shaded jar.
[INFO] Including io.micronaut:micronaut-websocket:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-http-server-netty:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-http-server:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-router:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-inject:jar:1.0.1 in the shaded jar.
[INFO] Including javax.inject:javax.inject:jar:1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-core:jar:1.0.1 in the shaded jar.
[INFO] Including com.google.code.findbugs:jsr305:jar:3.0.2 in the shaded jar.
[INFO] Including org.yaml:snakeyaml:jar:1.23 in the shaded jar.
[INFO] Including javax.annotation:javax.annotation-api:jar:1.3.2 in the shaded jar.
[INFO] Including io.micronaut:micronaut-runtime:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-http:jar:1.0.1 in the shaded jar.
[INFO] Including io.micronaut:micronaut-aop:jar:1.0.1 in the shaded jar.
[INFO] Including javax.validation:validation-api:jar:2.0.1.Final in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.9.7 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.9.7 in the shaded jar.
[INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.9.7 in the shaded jar.
[INFO] Including com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.7 in the shaded jar.
[INFO] Including com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.7 in the shaded jar.
[INFO] Including io.micronaut.configuration:micronaut-hibernate-validator:jar:1.0.1 in the shaded jar.
[INFO] Including org.glassfish:javax.el:jar:3.0.1-b08 in the shaded jar.
[INFO] Including io.micronaut:micronaut-validation:jar:1.0.1 in the shaded jar.
[INFO] Including org.hibernate.validator:hibernate-validator:jar:6.0.13.Final in the shaded jar.
[INFO] Including org.jboss.logging:jboss-logging:jar:3.3.2.Final in the shaded jar.
[INFO] Including com.fasterxml:classmate:jar:1.3.4 in the shaded jar.
[INFO] Including io.swagger.core.v3:swagger-annotations:jar:2.0.4 in the shaded jar.
[INFO] Including ch.qos.logback:logback-classic:jar:1.2.3 in the shaded jar.
[INFO] Including ch.qos.logback:logback-core:jar:1.2.3 in the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing E:\opensource\micronaut-examples\hello-world-java\target\hello-world-0.1.jar with E:\opensource\micronaut-examples\hello-world-java\target\hello-world-0.1-shaded.jar

2018/11/30  19:42        13,449,864 hello-world-0.1.jar

E:\opensource\micronaut-examples\hello-world-java>java -jar target\hello-world-0.1.jar
20:24:44.155 [main] INFO  io.micronaut.runtime.Micronaut - Startup completed in 2417ms. Server Running: http://localhost:8080

转载于:https://my.oschina.net/masterworker/blog/2964261

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值