建立Maven工程时出错,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until…
Failure to transfer com.thoughtworks.xstream:xstream:jar: from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. 解决办法: a. 删除m2\…
新建maven工程时,pom.xml报错:第一行报如下错误:multiple annotations found at this line后添加org.eclipse.m2e相关的plugin配置后,错误消失,完整pom.xml如下: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schem…
问题描述:eclipse建立maven项目时,JDK版本默认是1.5,想创建时默认版本设置为1.8,如何修改? 解决方案: 找到本机maven仓库存放位置,比如:${user.home}/.m2/路径,编辑settings.xml文件,在profiles节点下配置 <profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jd…
问题:使用IDEA创建Maven工程时提示"...xxx/pom.xml already exists in VFS",怎么办? 解决:如果只是删除工程,还会有这样的提示.说到底,删除工程后,还要清理IDEA的缓存. 1.在IDEA中任意打开一个工程 2.在菜单中依次找到"File -----> Invalidate Caches / Restart" 3.在弹出的窗口中点击"Invalidate and Restart".问题解决.…
问题描述:eclipse建立maven项目时,JDK版本默认是1.5,想创建时默认版本设置为1.8,如何修改? 解决方案: 找到本机maven仓库存放位置,比如:${user.home}/.m2/路径,编辑settings.xml文件,在profiles节点下配置 <profile> <id>jdk-1.8</id> <activation> <activeByDefault>true</activeByDefault> <jd…
idea中scala编程环境及建立maven工程 1.下载idea软件并破解:http://blog.csdn.net/nn_jbrs/article/details/70139178 2.安装scala 首先在安装好了idea后,要运行scala程序首先在自己的主机上安装Scala,scala的安装参考百度经验:http://jingyan.baidu.com/article/d5a880ebb2e51a13f047cc46.html 3.scala插件安装 在idea上运行Scala需要安装…
新建Maven项目时出错:org.apache.maven.archiver.MavenArchiver.getManifest eclipse新建maven项目时,pom.xml文件第一行报错: org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apache.maven.archiver.MavenArchiveConfiguration) 解决方案: 1…
问题描述:    从http://git.oschina.net/flashsword20/webmagic 下载最新代码,按照http://webmagic.io/docs/zh/posts/ch3-build-source/ 说明的方法导入进eclipse,编译然后就提示如下错误: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.18 from https://repo.maven.apache…
Description Resource Path Location TypeFailure to transfer com.thoughtworks.xstream:xstream:pom:1.3.1 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of centra…