我想使用Spring Initializr(https://start.spring.io)设置Spring Boot项目,但我想知道您可以选择的项目类型的区别:Maven Project还是Maven POM?
这两种类型之间究竟有什么区别?
答案 0 :(得分:3)
你甚至通过选择maven项目选项并说下载来体验它的基本区别,你会得到一个包含示例弹簧启动应用程序的maven
在其他情况下,您有现有项目,并希望添加spring boot,然后您可以简单地获取配置以包含spring boot artifacts
答案 1 :(得分:1)
[==========] Running 1 test(s).
[ RUN ] test_checkSystem
[ ERROR ] --- __wrap_startCalCompute function was expected to be called but was not.
test_checkSystem.c:1: note: remaining item was declared here
[ FAILED ] test_checkSystem
[==========] 1 test(s) run.
[ PASSED ] 0 test(s).
[ FAILED ] 1 test(s), listed below:
[ FAILED ] test_checkSystem
仅创建Maven POM
文件。
pom.xml
创建Maven Project
文件和包含pom.xml
文件夹的示例项目:
src