这是我调试bug的记录
解决的结果!其实是我的pom.xml中有问题
再次运行 可以启动!(ps jar包和war包的功能是一致的)
结论:
这个主要的影响因素是 <pluginManagement></pluginManagement>
关于 pluginManagement 的介绍
这是官网的介绍:
https://maven.apache.org/pom.html#Plugins
这是stack overflow 讨论的内容
https://stackoverflow.com/questions/10483180/what-is-pluginmanagement-in-mavens-pom-xml
这是一个人的博客:
https://www.cnblogs.com/EasonJim/p/6845012.html
具体是怎么一回事!我暂时没有深究,先做个标记! 博客仅为标记所用 没有联系作者 侵删!
本人新手 有错误欢迎指出!