问题描述
- 关于maven 我已经接近死亡!!!哭拜于地!!!顿首!!!求进来!!!
-
拜托大侠指路!! 我简单说就是我建立了一个parent父类,有basic 和core 两个子类继承, core同时还要继承basic (basic写了dao和分页类),现在根据错误显示core死活继承不到basic,可是我在core中导包到文件都能导入,就是测试不好用 我用dbunilt测试 这是怎么回事啊以下是所有错误消息!!!
[INFO] Scanning for projects...
[INFO][INFO] ------------------------------------------------------------------------
[INFO] Building core 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.basic:basic:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.578s
[INFO] Finished at: Sun Oct 18 18:15:07 CST 2015
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project core: Could not resolve dependencies for project org.core:core:jar:0.0.1-SNAPSHOT: Could not find artifact org.basic:basic:jar:0.0.1-SNAPSHOT -> [Help 1]
[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/DependencyResolutionException哭拜于地!!!顿首!!
解决方案
core同时还要继承basic?
为什么 不是引用呢?
可以看看pom文件么
解决方案二:
我已经将这个项目删了重新做了 我在看下还是不是那个问题 !!!
解决方案三:
我已经将这个项目删了重新做了 我在看下还是不是那个问题 !!!
解决方案四:
The POM for org.basic:basic:jar:0.0.1-SNAPSHOT is missing, no dependency information available
看起来找不到basic module 的pom.xml文件