当前位置: 首页 > 知识库问答 >
问题:

即使在m2e+DWM安装之后,Eclipse Indigo SR2 EE中也没有Maven菜单项

葛鸿轩
2023-03-14
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2 
Build id: 20120216-1857

甚至在从Marketplace安装m2e之后,我在File->Import、File->New->Project...或Window->Preferences中也没有任何Maven菜单项。

我真的很困惑。我使用的是一台Fedora17x64机器--而我的其他工作中的Fedora17x64机器可以与相同版本的Eclipse一起工作!

m2e在“已安装软件”中清楚显示:

  m2e - Maven Integration for Eclipse   1.0.200.20111228-1245   org.eclipse.m2e.feature.feature.group   Eclipse.org - m2e

这与“Eclipse Indigo for JAVA EE+Maven plugin=Maven菜单不出现在import and Preference中”不同;他们的m2e没有正确安装,这显示为已安装,Eclipse不会重新安装它,因为它已经安装了,因此在“Install new software...”中显示为灰色。

从命令行启动Eclipse时,stdout/stderr上不会发出任何错误。

我正在使用:

java -version
java version "1.7.0_b147-icedtea"
OpenJDK Runtime Environment (fedora-2.1.fc17.6-x86_64)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
plugins/org.eclipse.m2e.archetype.common_1.0.200.20111228-1245           plugins/org.eclipse.m2e.logback.appender_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.core_1.0.200.20111228-1245.jar                   plugins/org.eclipse.m2e.logback.configuration_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.core.ui_1.0.200.20111228-1245.jar                plugins/org.eclipse.m2e.maven.indexer_1.0.200.20111228-1245
plugins/org.eclipse.m2e.discovery_1.0.200.20111228-1245.jar              plugins/org.eclipse.m2e.maven.runtime_1.0.200.20111228-1245
plugins/org.eclipse.m2e.editor_1.0.200.20111228-1245.jar                 plugins/org.eclipse.m2e.model.edit_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.editor.xml_1.0.200.20111228-1245.jar             plugins/org.eclipse.m2e.refactoring_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.jdt_1.0.200.20111228-1245.jar                    plugins/org.eclipse.m2e.scm_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.launching_1.0.200.20111228-1245.jar              plugins/org.eclipse.m2e.usagedata_1.0.200.20111228-1245.jar
plugins/org.eclipse.m2e.lifecyclemapping.defaults_1.0.200.20111228-1245  plugins/org.sonatype.m2e.mavenarchiver_0.15.0.201109290002.jar
16:58:08,042 |-ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not create component [filter] of type [org.eclipse.m2e.logback.appender.ConsoleAppenderFilter] java.lang.ClassNotFoundException: org.eclipse.m2e.logback.appender.ConsoleAppenderFilter
        at java.lang.ClassNotFoundException: org.eclipse.m2e.logback.appender.ConsoleAppenderFilter
        at      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
        at      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at      at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at      at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at      at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at      at ch.qos.logback.core.util.Loader.loadClass(Loader.java:110)
        at      at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.begin(NestedComplexPropertyIA.java:100)
        at      at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:273)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:145)
        at      at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:127)
        at      at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:40)
        at      at ch.qos.logback.core.joran.spi.Interpreter.play(Interpreter.java:332)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:126)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:93)
        at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:52)
        at      at org.eclipse.m2e.logback.configuration.LogPlugin.loadConfiguration(LogPlugin.java:190)
        at      at org.eclipse.m2e.logback.configuration.LogPlugin.configureLogback(LogPlugin.java:149)
        at      at org.eclipse.m2e.logback.configuration.LogPlugin.access$2(LogPlugin.java:112)
        at      at org.eclipse.m2e.logback.configuration.LogPlugin$1.run(LogPlugin.java:65)
        at      at java.util.TimerThread.mainLoop(Timer.java:555)
        at      at java.util.TimerThread.run(Timer.java:505)
  Context and Dependency Injection Tools    1.2.0.v20120504-0314-H63-Beta3  org.jboss.tools.cdi.feature.feature.group   JBoss by Red Hat
  Eclipse EGit  1.3.0.201202151440-r    org.eclipse.egit.feature.group  Eclipse EGit
  Eclipse IDE for Java EE Developers    1.4.2.20120213-0813 epp.package.jee null
  Eclipse JGit  1.3.0.201202151440-r    org.eclipse.jgit.feature.group  Eclipse JGit
  Forge Tools   1.0.0.v20120504-2048-H71-Beta3  org.jboss.tools.forge.feature.feature.group JBoss by Red Hat
  Hibernate Tools   3.4.0.v20120504-2121-H72-Beta3  org.hibernate.eclipse.feature.feature.group JBoss by Red Hat
  JBoss Archives Tools  3.2.1.v20120504-0235-H64-Beta3  org.jboss.ide.eclipse.archives.feature.feature.group    JBoss by Red Hat
  JBoss Central Community   1.0.0.v20120514-1749-H82-Beta3  org.jboss.tools.community.central.feature.feature.group JBoss by Red Hat
  JBoss JAX-RS Tools    1.2.2.v20120514-1752-H106-Beta3 org.jboss.tools.ws.jaxrs.feature.feature.group  JBoss by Red Hat
  JBoss Maven CDI Configurator  1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.cdi.feature.feature.group JBoss by Red Hat
  JBoss Maven Hibernate Configurator    1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.hibernate.feature.feature.group   JBoss by Red Hat
  JBoss Maven Integration   1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.feature.feature.group JBoss by Red Hat
  JBoss Maven JAX-RS Configurator   1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.jaxrs.feature.feature.group   JBoss by Red Hat
  JBoss Maven JPA Configurator  1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.jpa.feature.feature.group JBoss by Red Hat
  JBoss Maven JSF Configurator  1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.jsf.feature.feature.group JBoss by Red Hat
  JBoss Maven Project Examples  1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.project.examples.feature.feature.group    JBoss by Red Hat
  JBoss Maven Seam Integration  1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.seam.feature.feature.group    JBoss by Red Hat
  JBoss OpenShift Tools 2.3.0.v20120510-2034-H93-Beta3  org.jboss.tools.openshift.express.feature.feature.group JBoss by Red Hat
  JBoss Packaging Maven Configurators   1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.jbosspackaging.feature.feature.group  JBoss by Red Hat
  JBoss Runtime AS Detector 1.3.0.v20120504-1621-H89-Beta3  org.jboss.tools.runtime.as.detector.feature.feature.group   JBoss by Red Hat
  JBoss Runtime Detection Core  1.3.0.v20120504-1621-H89-Beta3  org.jboss.tools.runtime.core.feature.feature.group  JBoss by Red Hat
  JBoss Tools Community Project Examples    1.2.1.v20120504-1659-H91-Beta3  org.jboss.tools.community.project.examples.feature.feature.group    JBoss by Red Hat
  JBoss Tools EGit Integration (Experimental)   2.3.0.v20120510-2034-H93-Beta3  org.jboss.tools.openshift.egit.integration.feature.feature.group    JBoss by Red Hat
  JBoss Tools Java Standard Tools   3.3.0.v20120504-2056-H66-Beta3  org.jboss.tools.jst.feature.feature.group   null
  JBoss Tools JDT Extensions    3.3.0.v20120510-2001-H58-Beta3  org.jboss.tools.common.jdt.feature.feature.group    JBoss by Red Hat
  JBoss Tools JSF   3.3.0.v20120504-0520-H88-Beta3  org.jboss.tools.jsf.feature.feature.group   JBoss by Red Hat
  JBoss Tools RichFaces 3.3.0.v20120504-0520-H88-Beta3  org.jboss.tools.richfaces.feature.feature.group JBoss by Red Hat
  JBoss Tools Source Lookup 1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.sourcelookup.feature.feature.group    JBoss by Red Hat
  JBoss Tools Usage Reporting   1.1.0.v20120504-2022-H52-Beta3  org.jboss.tools.usage.feature.feature.group JBoss by Red Hat
  JBoss Tools Visual Page Editor    3.3.0.v20120504-2124-H75-Beta3  org.jboss.tools.vpe.feature.feature.group   null
  JBoss WebServices Tools   1.2.2.v20120514-1752-H106-Beta3 org.jboss.tools.ws.feature.feature.group    JBoss by Red Hat
  JBossAS Tools 2.3.0.v20120504-2054-H105-Beta3 org.jboss.ide.eclipse.as.feature.feature.group  JBoss by Red Hat
  JMX Console   1.2.0.v20120504-0232-H50-Beta3  org.jboss.tools.jmx.feature.feature.group   JBoss by Red Hat
  m2e - Maven Integration for Eclipse   1.0.200.20111228-1245   org.eclipse.m2e.feature.feature.group   Eclipse.org - m2e
  m2e - slf4j over logback logging (Optional)   1.0.200.20111228-1245   org.eclipse.m2e.logback.feature.feature.group   Eclipse.org - m2e
  Maven Integration for WTP 0.15.2.20120306-2040    org.maven.ide.eclipse.wtp.feature.feature.group JBoss by Red Hat
  Maven Profiles Management 1.3.0.v20120514-1625-H96-Beta3  org.jboss.tools.maven.profiles.feature.feature.group    JBoss by Red Hat
  Project Examples  1.2.1.v20120504-1659-H91-Beta3  org.jboss.tools.project.examples.feature.feature.group  JBoss by Red Hat
  Seam 3 Tools  1.2.0.v20120504-0314-H63-Beta3  org.jboss.tools.cdi.seam.feature.feature.group  JBoss by Red Hat

共有1个答案

毋城
2023-03-14

我通过以下步骤安装了它:

>

  • http://www.eclipse.org/m2e/download/

    http://help.eclipse.org/juno/index.jsp?topic=//org.eclipse.platform.doc.user/tasks/tasks-127.htm

  •  类似资料:
    • 我正试图通过Eclipse中的存储库安装(帮助)来安装插件- 我尝试查找有关guava捆绑包的信息,但无法在Eclipse marketplace中搜索这些信息,也无法在那里找到任何我可以从中安装的repo。 我正在使用EclipseJunoSR2。我读过Eclipse的某些版本无法安装guava捆绑包,但没有读到Juno是其中之一。

    • 我试图使用Python、OpenCv2和LBPH实现人脸识别(从这里下载) 我的python版本是2.7.14 PIP版本是9.0.3 而OpenCV版本是3.4.0 我的代码是 当我运行任何人脸识别文件(如Recogniser\u Image\u All\u Algorithms.py)时,都会出现此错误 Traceback(最近的调用最后):文件Recogniser_Image_All_Alg

    • 情景1: 试图推送文件大小 情景2: 克隆新回购协议 创建了一个新文件 那么“场景1”中有什么问题,如果git lfs在场景2中工作

    • 如果我只将RDF4J与Maven一起使用(没有OSGi容器),我就能够利用RDF4J提供的所有类。但是当我将RDF4J与OpenDaylight一起使用时,我使用过RDF4J类的包由于未满足的需求而无法启动。我使用IntelliJ思想,创建了一个带有OpenDaylight原型的新项目,groupId:org.OpenDaylight.Controller,artifactid:opendayLi

    • 无法完成安装,因为找不到一个或多个必需的项目。正在安装的软件:M2E-Maven Integration for Eclipse 1.4.0.20130601-0317(org.Eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)缺少要求:Maven Integration for Eclipse(Editors)1.4.0.20130601

    • 我是JDBC的初学者,我想连接到本地机器上的MySQL实例。下面是我试图连接到的MySQL实例。它存在于我的本地机器上。它有一个名为my_db2的数据库。我想和它的桌子一起工作。 为了连接到上面的数据库,我编写了以下代码。 然而,当我尝试连接到数据库时,我总是得到这个错误。 在这一点上,我开始得到以下错误。 据我所知,我正确地执行了所有步骤,将mysql-connector文件添加到库中。我不确定