在Eclipse中执行Maven的install命令时,报“Failed to read artifact descriptor for xxx:jar ”的错误.这可能是在下载过程中文件出现错误.或者pom.xml文件报类似的问题 解决办法:从本地的maven库中删除相关的jar包,然后右单击项目,Maven->Update Project,在弹出的对话框中选择“Force Update Of Snapshots/Releases"…
在开发的过程中,尤其是新手,我们经常遇到Maven下载依赖jar包的问题,也就是遇到“Failed to read artifact descriptor for xxx:jar”的错误. 对于这种非业务相关的问题,耽误时间非常不效率,而且网上的解决思路过于老套,而且还没什么用. 1)要么就是,删除仓库内对应依赖的文件夹,右单击项目,Maven4MyEclipse->Update Project,在弹出的对话框中选择“Force Update Of Snapshots/Releases",…
在开发的过程中,尤其是新手,我们经常遇到Maven下载依赖jar包的问题,也就是遇到“Failed to read artifact descriptor for xxx:jar”的错误. 对于这种非业务相关的问题,耽误时间非常不效率,而且网上的解决思路过于老套,而且还没什么用. 1)要么就是,删除仓库内对应依赖的文件夹,右单击项目,Maven4MyEclipse->Update Project,在弹出的对话框中选择“Force Update Of Snapshots/Releases",…
在MyEclipse中执行Maven的install命令时,报“Failed to read artifact descriptor for xxx:jar ”的错误.这可能是在下载过程中文件出现错误. 解决办法:从本地的maven库中删除相关的jar包,然后右单击项目,Maven4MyEclipse->Update Project,在弹出的对话框中选择“Force Update Of Snapshots/Releases" 然后点击“OK”.这样就会重新下载这个jar包.…
一.关于Cannot change version of project facet Dynamic web module to 2.5 具体查看博客:http://blog.csdn.net/steveguoshao/article/details/38414145 但是按照以上博文进行修改的时候需要根据自己本地jdk的版本来改. 如果你的本地是JDK1.7,就不要按照博文中写的把文件中的1.5改成1.6,而要把1.5改成1.7 二.Missing artifact****和ArtifactD…
Maven多模块项目jar包引用问题: Failed to execute goal on project xxx-service: Could not resolve dependencies for project com.xxx:xxx-service:jar:1.0.0: Failed to collect dependencies at com.yyy:yyy-facade:jar:1.0.0: Failed to read artifact descriptor for com.yy…
maven clean package 时出现Failed to read artifact descriptor for的问题 [ERROR] Failed to execute goal on project eii-frame-common: Could not resolve dependencies for project com.eii.frame.common:eii-frame-common:jar:2.1: Failed to collect dependencies at c…
Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plug…
额,在Stackoverflow上找到了一个答案: I had this in eclipse and did this which fixed it(even though my command line build worked) delete the directory in .m2/repostiory/.... rerun update dependencies in my IDE mvn command line worked while my IDE didn't, once I…
在开发的过程中,作为新手,经常遇到Maven下载依赖的时候,"Failed to read artifact descriptor for xxx:jar"的错误 对于这种非业务相关的问题,耽误时间非常不效率,看到网站很多博文,思路大概是这样的 思路1: 删除仓库内对应依赖的文件夹,右单击项目,Maven4MyEclipse->Update Project,在弹出的对话框中选择“Force Update Of Snapshots/Releases",然后点击“OK”.这…
Uncaught DOMException: Failed to construct 'WebSocket': The URL 'xxx.xxx.com/' is invalid. 出现这个问题是构造 WebSocket失败了. js代码改成 //实现化WebSocket对象,指定要连接的服务器地址与端口 建立连接 //等同于socket = new WebSocket(path+"/websocket/service8888");socket = new WebSocket(&quo…
新建好工程后一定要记得从底层开始clean和install 在启动新建的工程时到最后一步出现了这个问题: Failed to execute goal on project e3-manager-web: Could not resolve dependencies for project cn.e3mall:e3-manager-web:war:0.0.1-SNAPSHOT: Could not find artifact cn.e3mall:e3-manager-service:jar:0.…
问题: Failed to execute goal on project petroleum: Could not resolve dependencies for project petroleum:petroleum:war:1.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.5.0 at specified path C:\Program Files\Java\jre6/../lib/tools.jar -> [Help 1…