[Maven] Missing artifact (解决办法)】的更多相关文章

maven 中添加sqlserver 出错,报错内容 maven Missing artifact com.microsoft.sqlserver 解决方法这里先下载好jar包 ,然后maven命令执行. 将下载的好的jar包放在工程下面 在eclipse中执行maven命令 install:install-file -Dfile=sqljdbc4.jar -Dpackaging=jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc…
在使用Eclipse的Maven插件时,经常会遇到Missing artifact的编译错误,特别是在新环境中搭建相关项目时,经常出现类似此问题,今天一位同事又遇到了,经过一顿问题原因查找,始终无法解决,决定来好好研究研究此类问题,以免以后遇到此类问题.   以下为尝试过的办法: 1. 项目右键->Maven->Update Dependency,失败 2. 项目右键->Maven->Disable Dependency, 然后再Enable Dependency,失败 3. 将E…
今天从朋友那拷过来一个maven工程,eclipse中maven配置好了,maven仓库也配置完毕,但是一直报Missing artifact,然后开网执行maven update,下载完jar后,还有几个jar包出错,然后问朋友,朋友说那几个jar包是私有的网上没有,传给我之后, 放在相应位置,然而pom里面依然报Missing artifact: 以下为尝试过的办法: 1. 项目右键->Maven->Update Dependency,失败 2. 项目右键->Maven->Di…
maven error:Multiple annotations found at this line: - Missing artifact log4j:log4j:jar:1.2.15:compile - Missing artifact org.apache.xmlbeans:xmlbeans-xpath:jar:2.4.0:compile - Missing artifact org.apache.ws.commons.axiom:axiom-dom:jar:1.2.5:compile…
问题: 安装完unity-tweak-tool后,打开运行弹出出错窗口,忘了截图了,提示内容: scheme missing! Error: schema com.canonical.indicator.bluetooth not installed 后边还有一句大意是需要安装相应组件才可运行. 解决办法: 首先根据该提示只能得知缺少相应组件,但是不知道缺少那个组件导致unity-tweak-tool无法运行,所以问题无从解决. 后来尝试命令:sudo apt-get install indic…
转自:http://blog.csdn.net/caolaosanahnu/article/details/7918929 http://zuoshahao.com/work/others/missing-artifact-com-suntoolsjar1-5-0/ 刚才把之前的一个maven工程导入eclipse后,发现pom.xml打红叉,其问题如下所示: 问题似曾相识,没错,这个在<Could not find artifact com.sun:tools:jar:1.5.0>中曾说过.…
不同的IDE对应的.classpath中的maven声明也不一样,这样就会导致项目找不到maven依赖. 即Java Build Path--->Libraries中找不到Maven Dependencies 解决这样的办法就是修改.classpath文件,.classpath中加入: 低版本IDE: <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER&…
当你使用的Gradle版本是2.4以上,Android插件版本是1.3.0以上的时候就会出现这个问题,这时候你只需将android-maven-gradle-plugin插件版本改为classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.3’ 注意一定要加在 classpath 'com.github.dcendents:android-maven-plugin:1.2-' 这句话的前面. 另一种可能是classpath ‘co…
没有java标志,不识别为Java项目,右键项目-->Properties-->Project Facets-->勾选Java   确定就可以了. 没有maven Dependencies 从其他有maven Dependencies的项目下,找到.project文件,打开,把 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/> 复…
1.首先确定你的项目是maven 项目 ,如果不是:项目右键Configure -->Convert to maven project. 2.在SVN导出的Maven项目,或以前不是用Maven管理的项目想要转换成Maven项目,但Myeclipse中右键Configure 找不到Convert to maven project选项,因此需要如下设置: Window > Preferences > General > Capabilities > Advanced > …