jeecg-eclipse的maven导入时报错

问题描述

eclipse的maven导入时报错

第一次装maven,按步骤是装好了。导入第一个maven项目就报错了,求大神不吝赐教!
以下是错误提示
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'jeecg'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 has not been downloaded from it before.

解决方案

eclipse 运行Maven时报错总结

解决方案二:

此问题的解决:

1、要确认spring sts已经设置代理
2、要确认windows -> Preferences -> maven 的settings.xml文件中,设置代理。
3、C:Users tt.m2
epositoryorgapachemavenplugins目录下的文件夹全部删除,重新下载。

解决方案三:

你maven中配置的jar都下载下来了吗? update下

解决方案四:

in offline mode
我怎么看着像是你的电脑没有联网呢?需要下载东西

解决方案五:

http://www.iteye.com/problems/96117

时间: 2024-12-11 01:50:48

jeecg-eclipse的maven导入时报错的相关文章

eclipse创建maven工程时报错

问题描述 eclipse创建maven工程时报错 使用的是官方的Eclipse中自带的m2e插件,创建maven项目时就弹出个错误 在pom.xml文件那会显示个红X,提示如下: Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompi

schema-cas-servlet.xml导入时报错

问题描述 cas-servlet.xml导入时报错 !!!<flow:executor id="flowExecutor" registry-ref="flowRegistry"> <flow:execution-attributes> <flow:alwaysRedirectOnPause value="false"/> </flow:execution-attributes> </flow

【maven 报错】maven项目执行maven install时报错Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

  在使用maven新建的web项目中,执行   执行如上的这两个操作,报错: 1 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project bioligyInfo: Fatal error compiling: tools.jar not found: C:\Program Files\Java\jre1.8.0

mysql提示MySQL server has gone away导入时报错2006错误

今天导入sql总是提示错误 代码如下: ERROR 2013 (HY000): Lost connection to MySQL server during query ERROR 2006 (HY000): MySQL server has gone away No connection. Trying to reconnect... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib

Maven测试时报错

问题描述 打入命令MVN-VERSION时出现pleasesettheJAVA_HOMEvariableinyourenvironmenttomatchthelocationofyourjavainstallation,然后看了一个网站时说要修改startGrails.bat里面的东西,请问下startGrails.bat是什么,在哪里找得到?要怎么办啊?急急!!!!! 解决方案 解决方案二:pleasesettheJAVA_HOMEvariableinyourenvironment那是让你设置

eclipse运行maven+ssm项目中报错。

问题描述 eclipse运行maven+ssm项目中报错. 四月 18, 2016 5:37:15 下午 org.springframework.context.support.AbstractApplicationContext refresh 警告: Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCre

myeclipse-新建maven项目报错,求大神帮帮我

问题描述 新建maven项目报错,求大神帮帮我 我用的是myeclipse2015 ,apache-maven-3.3.9,每当新建maven项目时报 错, An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded, 一直报这个错误,无法创建,怎么才能解决,百度上的试了都不行,来个大神帮帮我 解决方案 把Eclipse的堆内存调大一点:http://jingyan.ba

maven导入Struts2源码项目时报错

问题描述 maven导入Struts2源码项目时报错 No marketplace entries found to handle core/pom.xml in Eclipse. Please see Help for more information. 解决方案 没有找到这个文件?或者不识别

在eclipse中使用maven构建Web项目时报错:maven-resources-plugin 解决方法

今天在一个新建的web项目中发生了以下错误: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin Eclipse的错误提示如下: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could