
maven开发
zzzgd816
这个作者很懒,什么都没留下…
展开
-
【踩坑】解决maven的编译报错Cannot connect to the Maven process. Try again later
annot connect to the Maven process. Try again later. If the problem persists, check the Maven Importing JDK settings and restart IntelliJ IDEA原创 2022-04-28 10:47:29 · 20423 阅读 · 6 评论 -
maven使用插件打包, 想使用时间戳作为变量, 时间戳有时差, 变量不生效的问题
在使用maven的时候, 有时候打包需要加时间日期的后缀.每次打tag要手动改很麻烦, 还有一种办法就是使用maven的时间戳生成<properties> <maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format></properties>然后用变量来使用${maven.build.timestamp}<imageTag>T-${m原创 2021-07-15 11:54:50 · 1611 阅读 · 0 评论 -
springboot依赖lib外置打成压缩包,以及snapshot依赖jar包ClassNotFoundExcepttion异常的解决办法
springboot依赖lib外置打成压缩包,以及snapshot依赖jar包ClassNotFoundExcepttion异常的解决办法mvn插件assembly压缩zipassembly.xml配置文件坑打包后运行, 报java.lang.ClassNotFoundExceptionmvn插件maven-dependency-plugin 指定使用外部的libmaven-jar-plugin 打jar包maven-assembly-plugin 压缩包zipspring-boot原创 2020-09-21 20:21:07 · 1778 阅读 · 1 评论 -
关于idea使用maven骨架加载很慢的问题
1.简单方式在使用maven骨架的时候,右上角添加属性的地方,打开并添加一栏: archetypeCatalog:internal2.不用每次都设置属性的方式1 在 http://repo1.maven.org/maven2/ 最下方下载archetypeCatalog.xml文件,放在本地 - 或者在cmd使用命令mvn archetype:crawl,会在本地仓库生成arch...原创 2018-05-11 15:04:58 · 4663 阅读 · 1 评论 -
Idea-SpringBoot:There was an unexpected error (type=Not Found, status=404). /WEB-INF/page//XX.jsp
Idea在启动SpringBoot时访问Jsp页面报错:There was an unexpected error (type=Not Found, status=404). /WEB-INF/page//XX.jsp如图:刚刚一开始看, 发现报错,有两个双斜杠//, 一开始第一反应就是mvc的配置是不是前缀有问题, 然后一看配置: mvc: view: ...原创 2018-07-11 15:03:19 · 11014 阅读 · 5 评论 -
Idea在Maven项目中控制台中文乱码的问题解决
直奔主题:Edit configurations… &gt;&gt;&gt; Runner &gt;&gt;&gt; VM Options 加上-Dfile.encoding=GB2312问题解决!原创 2018-07-12 15:40:20 · 2710 阅读 · 0 评论