随笔分类 -  maven

摘要:maven引入 <dependency> <groupId>com.github.dadiyang</groupId> <artifactId>equator</artifactId> <version>1.0.4</version> </dependency> 调用: Equator equato 阅读全文
posted @ 2020-10-29 18:23 小泉哥 阅读(867) 评论(0) 推荐(0)
摘要:<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>2.3.0.RELEASE</versi 阅读全文
posted @ 2020-08-17 19:58 小泉哥 阅读(628) 评论(0) 推荐(0)
摘要:mvn clean package依次执行了clean、resources、compile、testResources、testCompile、test、jar(打包)等7个阶段。 mvn clean install依次执行了clean、resources、compile、testResources 阅读全文
posted @ 2020-07-29 19:16 小泉哥 阅读(921) 评论(0) 推荐(0)
摘要:解决办法 最终原因,其实就是没有依赖。。。原因就是spring-boot-maven-plugin这个坑!!!用这个插件打包的Jar包可以直接运行,但是不可依赖!!!所以interface自始至终就没有依赖,自然会说找程序包不存在或者找不到类 最后修改pom.xml的依赖: <build> <plu 阅读全文
posted @ 2020-06-09 20:14 小泉哥 阅读(4689) 评论(0) 推荐(0)
摘要:解决办法,在pom.xml添加如下配置: 阅读全文
posted @ 2018-06-27 14:13 小泉哥 阅读(253) 评论(0) 推荐(0)