![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
eclipse
夏天的雨and冰淇淋
心中总得留有星辰大海
展开
-
jar中没有主清单属性
通过maven-install把springboot的maven项目打包成jar包后,用命令行运行jar文件 F:\>java -jar springboot-test-0.0.1-SNAPSHOT.jar springboot-test-0.0.1-SNAPSHOT.jar中没有主清单属性 被提示没有主清单属性 1.解决方法 调用maven的插件,完成main方法的指定,springboot有专门为maven提供了打包springboot的所有插件简化资源。在pom.xml中添加spring.原创 2021-07-22 15:37:03 · 1061 阅读 · 0 评论 -
eclipse新建的maven项目出现小红叉
eclipse新建的maven-webapp项目中出现小红叉。 1.新建项目 eclipse新建Maven-webapp项目 默认工作空间,next Maven骨架结构是方便我们快速构建结构一致的项目,可以自定义,但现在选择webapp,next GroupId和ArtifactId被统称为“坐标”。 GroupId是项目组织唯一的标识符,格式一般为域名.公司名.项目名如公司叫雪球snowball,有个测试项目test,那么可以GroupId可以是com.snowball.test。 Artifac.原创 2021-07-15 19:40:32 · 967 阅读 · 1 评论