关闭

java.lang.NoSuchMethodError: org.codehaus.plexus.util.DirectoryScanner.setupMatchPatterns()解决办法

标签: eclipsemavenjavaweb
469人阅读 评论(0) 收藏 举报
分类:

Description Resource Path Location Type

Execution m2e-tycho:default-bundle:manifest of goal org.apache.felix:maven-bundle-plugin:3.0.1:manifest failed: An API incompatibility was encountered while executing org.apache.felix:maven-bundle-plugin:3.0.1:manifest: java.lang.NoSuchMethodError: org.codehaus.plexus.util.DirectoryScanner.setupMatchPatterns()V

realm = plugin>org.apache.felix:maven-bundle-plugin:3.0.1
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/F:/env/m2/repository/org/apache/felix/maven-bundle-plugin/3.0.1/maven-bundle-plugin-3.0.1.jar
urls[1] = file:/F:/env/m2/repository/org/osgi/org.osgi.core/4.3.1/org.osgi.core-4.3.1.jar
urls[2] = file:/F:/env/m2/repository/biz/aQute/bnd/biz.aQute.bndlib/3.0.0/biz.aQute.bndlib-3.0.0.jar
urls[3] = file:/F:/env/m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.6.6/org.apache.felix.bundlerepository-1.6.6.jar
urls[4] = file:/F:/env/m2/repository/org/easymock/easymock/2.5.2/easymock-2.5.2.jar
urls[5] = file:/F:/env/m2/repository/org/apache/felix/org.apache.felix.utils/1.6.0/org.apache.felix.utils-1.6.0.jar
urls[6] = file:/F:/env/m2/repository/org/osgi/org.osgi.compendium/4.2.0/org.osgi.compendium-4.2.0.jar
urls[7] = file:/F:/env/m2/repository/org/slf4j/slf4j-jdk14/1.5.6/slf4j-jdk14-1.5.6.jar
urls[8] = file:/F:/env/m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
urls[9] = file:/F:/env/m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
urls[10] = file:/F:/env/m2/repository/org/apache/maven/reporting/maven-reporting-api/2.2.0/maven-reporting-api-2.2.0.jar
urls[11] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-logging-api/1.1/doxia-logging-api-1.1.jar
urls[12] = file:/F:/env/m2/repository/junit/junit/4.11/junit-4.11.jar
urls[13] = file:/F:/env/m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
urls[14] = file:/F:/env/m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
urls[15] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-alpha-4.jar
urls[16] = file:/F:/env/m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
urls[17] = file:/F:/env/m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
urls[18] = file:/F:/env/m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
urls[19] = file:/F:/env/m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
urls[20] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-archiver/2.1/plexus-archiver-2.1.jar
urls[21] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-io/2.0.2/plexus-io-2.0.2.jar
urls[22] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar
urls[23] = file:/F:/env/m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar
urls[24] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
urls[25] = file:/F:/env/m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
urls[26] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.jar
urls[27] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar
urls[28] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
urls[29] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar
urls[30] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[31] = file:/F:/env/m2/repository/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
urls[32] = file:/F:/env/m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
urls[33] = file:/F:/env/m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar
urls[34] = file:/F:/env/m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
urls[35] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar
urls[36] = file:/F:/env/m2/repository/commons-collections/commons-collections/3.2/commons-collections-3.2.jar
urls[37] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
urls[38] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
urls[39] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
urls[40] = file:/F:/env/m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
urls[41] = file:/F:/env/m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
Number of foreign imports: 4
import: Entry[import org.sonatype.plexus.build.incremental from realm ClassRealm[plexus.core, parent: null]]
import: Entry[import org.codehaus.plexus.util.Scanner from realm ClassRealm[plexus.core, parent: null]]
import: Entry[import org.codehaus.plexus.util.AbstractScanner from realm ClassRealm[plexus.core, parent: null]]
import: Entry[import from realm ClassRealm[project>com.gbits.websns:kernelsdk:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]


(org.apache.felix:maven-bundle-plugin:3.0.1:bundle:default-bundle:package) pom.xml /kernelsdk line 243 Maven Build Problem

在pom.xml里加上

org.apache.felix
maven-bundle-plugin
3.2.0

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:24311次
    • 积分:559
    • 等级:
    • 排名:千里之外
    • 原创:33篇
    • 转载:2篇
    • 译文:0篇
    • 评论:3条
    文章分类
    最新评论