随笔分类 -  Java.Maven

摘要:这个问题是在我制作一个SpringCLI程序的初期出现的,因此定位比较容易,出现这样的问题是因为我在pom里加入了如下节点: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spri 阅读全文
posted @ 2022-03-16 03:47 逆火狂飙 阅读(2577) 评论(0) 推荐(0) 编辑
摘要:【形式】 <properties> <maven.compiler.source>8</maven.compiler.source> <maven.compiler.target>8</maven.compiler.target> </properties> 【作用】 pom.xml中的maven. 阅读全文
posted @ 2022-03-13 05:14 逆火狂飙 阅读(26399) 评论(0) 推荐(0) 编辑
摘要:【打包出错信息】 [ERROR]Failure to find org.apache.poi:poi-scratchpad:jar:4.1.1 in http://170.0.41.47:8081/repository/maven-public/ was cached in the local re 阅读全文
posted @ 2022-03-02 11:27 逆火狂飙 阅读(2103) 评论(0) 推荐(0) 编辑
摘要:【名词解释】 CLI:Command Line Interface 命令行界面 典型如Linux控制台 GUI:Graphical User Interface 图形界面 典型如BS/CS程序 【工具】 Idea和一台能联网的电脑 【主要步骤】 1.用Idea创建一个Maven项目。 2.在pom里 阅读全文
posted @ 2022-03-01 17:01 逆火狂飙 阅读(1328) 评论(1) 推荐(0) 编辑
摘要:baomidou在pom中依赖为: <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.0.5</version> </dependenc 阅读全文
posted @ 2021-11-11 17:43 逆火狂飙 阅读(496) 评论(0) 推荐(0) 编辑
摘要:原来在使用命令 “mvn clean package” 发生了测试报错,说是几个testcase出现问题了。 另一方催jar得紧,于是用 命令 “mvn package -DskipTests”,只让mvn打包而不测试,jar就编出来了。 --2020-04-07-- 参考文档:https://bl 阅读全文
posted @ 2020-04-07 17:43 逆火狂飙 阅读(340) 评论(0) 推荐(0) 编辑
摘要:本来在STS里做了一个极简Maven工程,内中只有一个Main方法的Java类,然后用新装的Maven3.6.3给它打包。 结果,Maven罢工,输出如下: C:\personal\programs\ColoredText>mvn clean package [INFO] Scanning for 阅读全文
posted @ 2020-03-28 09:47 逆火狂飙 阅读(850) 评论(2) 推荐(0) 编辑
摘要:net.sf.json-lib json-lib 2.4 jdk15 阅读全文
posted @ 2019-11-24 07:47 逆火狂飙 阅读(1045) 评论(0) 推荐(0) 编辑
摘要:因为它们的scope被限制住了,放开就恢复为亮白色。 来两张图片比对一下就清楚了: 没有限制scope,是正常的亮白色。 限制scope为test,显示为灰黑色。 其实颜色不重要,重要的是scope会限制某些包的使用范围。有时候感觉明明配上去了怎么还报异常呢?这时候查看一下Maven depende 阅读全文
posted @ 2019-11-10 15:35 逆火狂飙 阅读(2539) 评论(0) 推荐(0) 编辑
摘要:Maven需要下载解压并添加到classpath,如果不明可以参考https://www.cnblogs.com/xiandedanteng/p/11403480.html 然后在命令行窗口执行: mvn install:install-file -Dfile=D:\jars\ojdbc6.jar 阅读全文
posted @ 2019-11-10 12:58 逆火狂飙 阅读(1017) 评论(0) 推荐(0) 编辑
摘要:下载链接:https://files.cnblogs.com/files/xiandedanteng/FindNotnullColumns20191102-1.rar pom.xml里写: <project xmlns="http://maven.apache.org/POM/4.0.0" xmln 阅读全文
posted @ 2019-11-02 08:09 逆火狂飙 阅读(1587) 评论(0) 推荐(0) 编辑
摘要:Step1:Download You can download Maven3.6.1 from maven.apche.org , or from here. Step2:Unzip and add to "Path" Unzip the amven zip file and then add th 阅读全文
posted @ 2019-08-24 08:28 逆火狂飙 阅读(22767) 评论(1) 推荐(2) 编辑

生当作人杰 死亦为鬼雄 至今思项羽 不肯过江东
点击右上角即可分享
微信分享提示