春季启动嵌入式大战 [英] Spring-Boot Embedded Wars
问题描述
如何在Spring-Boot应用程序中包含第三方战争?我想坚持使用一个单一的可执行工件,而不是采用传统的tomcat部署路线,但是我还想添加类似hawtio(
How can I include a third-party war in my Spring-Boot app? I'd like to stick to a single, executable artifact instead of going the traditional tomcat deployment route, but I'd also like to include something like hawtio (http://hawt.io/getstarted/index.html).
任何建议将不胜感激.
推荐答案
虽然不是严格地回答问题,但是现在有一个hawt.io的jar专门用于spring boot,这使得所要求的需求没有必要(io .hawt:hawtio-springboot:jar:1.4.20).
While not strictly an answer to the question, there is now a jar for hawt.io that works specifically with spring boot, which makes the requested requirement unnecessary (io.hawt:hawtio-springboot:jar:1.4.20).
模块代码在此处- https://github.com/hawtio/hawtio/tree/master/hawtio-springboot
此处显示了示例用法- https://github.com/hawtio/hawtio/tree/master/hawtio-sample-springboot
With example usage shown here - https://github.com/hawtio/hawtio/tree/master/hawtio-sample-springboot
这篇关于春季启动嵌入式大战的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!