miwaiwai

导航

上一页 1 ··· 27 28 29 30 31

2022年6月6日 #

eclipse maven打包springboot项目报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1

摘要: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1 打包顺序: 1.maven clean 2.maven build 3.maven install 有2个地方需要注意: 1.这里需要选择jdk, 阅读全文

posted @ 2022-06-06 09:48 米歪歪 阅读(1305) 评论(0) 推荐(0) 编辑

Eclipse maven打包springboot 报错The requested profile “pom.xml“ could not be activated because it does not exist

摘要: The requested profile “pom.xml“ could not be activated because it does not exist 右键单击项目,找到Maven,清空红色框,保存即可 阅读全文

posted @ 2022-06-06 09:45 米歪歪 阅读(535) 评论(0) 推荐(0) 编辑

2022年6月5日 #

springboot创建步骤

摘要: 1.定义controller @RestControllerpublic class HellowController{ @RequestMapping("/hello) public String hello(){ returen "hello Spring Boot!" }} 2.定义启动类 @ 阅读全文

posted @ 2022-06-05 21:49 米歪歪 阅读(70) 评论(0) 推荐(0) 编辑

eclipse下springboot打包jar步骤

摘要: 打包步骤:1.项目右击maven clean2项目.右击maven install3.在target下面生成jar的包如果不能产生jar,可以多进行几次,就会成功 如果不成功,pom.xml添加如下配置 用下面的配置,对springboot打包不会出现,没有主清单的报错 <build> <plugi 阅读全文

posted @ 2022-06-05 21:44 米歪歪 阅读(511) 评论(0) 推荐(0) 编辑

上一页 1 ··· 27 28 29 30 31