![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
maven
一身正气z
这个作者很懒,什么都没留下…
展开
-
maven常见问题
1.在Terminal下输入mvn install默认打印的是jar包而不是war包 2.将生成的war包作为部署包 0 错误localhost:8080 is already in use: 进入命令行输入netstat -ano 查看活动连接 然后打开任务管理发现:是tomcat8 占用了8080 ,因为idea会自动启动,而不需要外界来启动8080 禁止tomc...原创 2019-08-04 01:50:33 · 93 阅读 · 0 评论 -
maven:Could not calculate build plan: Failure to transfer解决方法
Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not ...原创 2019-08-24 13:54:17 · 207 阅读 · 0 评论 -
maven:Cannot change version of project facet Dynamic web module to 3.0解决方法
错误提示: 解决方法: https://my.oschina.net/cloudcoder/blog/362949原创 2019-08-24 14:28:10 · 400 阅读 · 0 评论 -
URI="HTTP://JAVA.SUN.COM/JSP/JSTL/CORE" 会报错
jstl.jar下载地址:http://repo2.maven.org/maven2/javax/servlet/jstl/ standard.jar下载地址:http://repo2.maven.org/maven2/taglibs/standard/ JSTL 1.0 的声明是: <%@ taglib prefix="c" uri="http://java.sun.co...原创 2019-08-16 17:18:31 · 5187 阅读 · 0 评论 -
解决maven项目里jar包变成了灰色
转载 2019-08-30 00:00:43 · 807 阅读 · 0 评论 -
访问maven总是404
刚进公司,不是很熟悉maven,总是访问不了项目,总是报404的错; 解决如下; 选中“项目", 然后右击选择“properties”---->Deployment Asssembly, 然后将webContent项remove掉,还有test相关的文件也可以remove掉, test是测试相关的文件, add一个folder文件,next-->next-->...转载 2019-08-30 10:16:46 · 822 阅读 · 0 评论