2 lxm9322 lxm9322 于 2016.03.29 13:56 提问

Myeclipse导入webmagic项目运行时出错求大神!!!!

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for us.codecraft:webmagic-scripts:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13
[FATAL] Non-resolvable parent POM for us.codecraft:webmagic-selenium:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 10
[FATAL] Non-resolvable parent POM for us.codecraft:webmagic-saxon:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13
[FATAL] Non-resolvable parent POM for us.codecraft:webmagic-samples:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13
[WARNING] 'parent.relativePath' of POM us.codecraft:webmagic-admin:unknown-version points at us.codecraft:webmagic-parent instead of us.codecraft:webmagic-avalon, please verify your project structure @ line 3, column 13
[FATAL] Non-resolvable parent POM for us.codecraft:webmagic-admin:[unknown-version]: Could not find artifact us.codecraft:webmagic-avalon:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ us.codecraft:webmagic-parent:0.5.3, C:\Users\hp\Desktop\webmagic\pom.xml, line 199, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ us.codecraft:webmagic-parent:0.5.3, C:\Users\hp\Desktop\webmagic\pom.xml, line 199, column 21
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 199, column 21
@
[ERROR] The build could not read 5 projects -> [Help 1]
[ERROR]

[ERROR] The project us.codecraft:webmagic-scripts:unknown-version has 1 error
[ERROR] Non-resolvable parent POM for us.codecraft:webmagic-scripts:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[ERROR]

[ERROR] The project us.codecraft:webmagic-selenium:unknown-version has 1 error
[ERROR] Non-resolvable parent POM for us.codecraft:webmagic-selenium:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 10 -> [Help 2]
[ERROR]

[ERROR] The project us.codecraft:webmagic-saxon:unknown-version has 1 error
[ERROR] Non-resolvable parent POM for us.codecraft:webmagic-saxon:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[ERROR]

[ERROR] The project us.codecraft:webmagic-samples:unknown-version has 1 error
[ERROR] Non-resolvable parent POM for us.codecraft:webmagic-samples:[unknown-version]: Could not find artifact us.codecraft:webmagic-parent:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[ERROR]

[ERROR] The project us.codecraft:webmagic-admin:unknown-version has 1 error
[ERROR] Non-resolvable parent POM for us.codecraft:webmagic-admin:[unknown-version]: Could not find artifact us.codecraft:webmagic-avalon:pom:0.5.3-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 3, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
求大神解决!

1个回答

jek123456
jek123456   2016.04.15 18:29

pom文件配置有问题吧

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
在maven项目中使用webmagic框架的初期准备工作
在maven项目中使用webmagic框架需要提前做的准备工作。
myeclipse导入项目常见错误解决办法?
1、myeclipse导入项目中出现Multiple markers at this line这种错误,解决办法:把项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为本myeclipse的jdk的版本,例如我的myeclipse的jdk版本1.6,就可以
将myeclipse项目导入eclipse报错的解决方法
1. import project as existing project, 然后项目会有错,如下。 2. 右键>properties>project Facets,选择Convert to faceted form. 3. 选择如图所示 4. 打开有错的java文件,鼠标放在错误上,选择如下所示的Fix project set...,然后会弹出下面第二张图所示,点击
webmagic学习笔记(3)---eclipse下导入源码及第一个小爬虫简单分析
在笔记(2)中我们已经安装好了eclipse的m2e插件,以maven为构建工具的webmagic源码就可以导入到eclipse中了。 1.导入源码。 步骤如下: 打开eclipse file>import。在新弹出的导入项目对话框中会出现maven选项。如图 选择next一路下去,最终找到你的源码所在路径,将共计5将解压后的webmagic文件夹导入。 导入后eclipse下文件树如图:
将web项目导入到eclipse/MyEclipse中常见错误
错误1:string cannot be resolved to a type  错误2:The import javax.servlet cannot be resolved 错误3:The import org.apache.catalina cannot be resolved
Myeclipse导入新项目报错解决方案
1.首先,查看myeclipse和导入项目的jdk是否一致,如果不一致需要切换 在项目上右击--》Build Path ---->Configure Build Path -----.>Java Build Path ------>点击窗体右边 Libraries ,你能看到你使用的jdk版本, 你可以双击jdk进行修改,也可以把原来的jdk Remove掉,重新Add Library ---
将myeclipse项目import到eclipse无法部署到tomcat中
在直接Import MyEclipse的项目文件导入到Eclipse之后,需要在项目所放的workspace内修改引入项目目录下的.project文件,修改如下:  打开导入项目的.project文件,修改下test中间的值即可  之后,刷新项目工程文件。继而,右键项目——>Properties——>选择Project Facets,勾选Dynamic Web Module以及Ja
MyEclipse/Eclipse导入项目报错的终极解决办法
在通过svn或者其他方式导入新的项目的时候,经常会因为jdk不匹配,报各种错误。遇到这种情况,一下四步走(我安装的1.6jdk): 1.检查myEclipse/Eclipse设置的默认jdk(你安装的) Window--》Preferences--》java--》Compiler 2.如果第一步不行,检查项目的jdk,项目右键--》Properties--》Java Compiler,此时ap
IDEA导入MyEclipse项目报错ClassNotFound
把之前myeclipse的项目导入进idea后就报错, 而这个class文件存在 解决: 以前用myeclipse导出的时候是选择的JAR或者WAR类型的,这次我选择的是FileSystem类型的  然后再导入idea,选择Project From ExisTing Sources就没事了。但是回家之后同样方法导入,报找不到这个C:\Users\Adminis
JavaScript或MyEclipse—如何解决js文件导入到MyEclipse工程后出错?
JavaScript或MyEclipse—如何解决js文件导入到MyEclipse工程后出错?