webmagic吧 关注:30贴子:73
  • 1回复贴,共1

一头雾的小白求教T^T

只看楼主收藏回复

是直接在eclipse里建立一个工程导入lib里所有的jar包就可以了吗?文件夹里还有好多文件是做什么用的呢?全导进来没有报错但是不会使用..
于是想试一下附赠的samples
我尝试将webmagic-samples直接作为一个工程导入eclipse然后导入lib里的jar包,有个pom.xml报错
Project build error: Non-resolvable parent POM for us.codecraft:webmagic-samples:[unknown-version]: Failure to transfer us.codecraft:webmagic-parent:pom:0.5.2 from https://repo.maven.apache.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. Original error: Could not transfer artifact us.codecraft:webmagic-parent:pom:0.5.2 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: unknown error and 'parent.relativePath' points at wrong local POM
这个要怎么解决呢?
一开始我是按照http://webmagic.io/docs/zh/posts/ch2-install/without-maven.html 3.2里面说的导入项目,导入之后是好几个项目,而且每个都报错...
还有最后一个问题,lib里面的那些jar包要attach source,可是并没有找到文档里面说的webmagic-core-{version}-sources.jar和webmagic-extension-{version}-sources.jar


1楼2015-12-15 18:02回复
    有个webmagic的QQ群:373225642,有问题到那云问吧,高手和热心人很多的。


    IP属地:浙江2楼2016-03-16 10:55
    回复