`
Inmethetiger
  • 浏览: 113219 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Project entries not supported.

阅读更多

我想在test_spring_web中加入test_spring_service项目的jar包,test_spring_service已在本地仓库中存在,为什么还会报出Invalid classpath publish/export dependency /mvn_service. Project entries not supported.的错误?

 

 

不要动eclipse.在控制台执行:mvn eclipse:eclipse,然后刷新eclipse的项目试试.再不行就在pom中的plugins节点内加:

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
                <version>2.9</version>
                <configuration>
                    <additionalProjectnatures>
                        <projectnature>org.eclipse.jdt.core.javanature</projectnature>
                        <!-- 
                        <projectnature>org.eclipse.m2e.core.maven2Nature</projectnature>
                        <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
                         -->
                    </additionalProjectnatures>
                    <additionalBuildcommands>
                        <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
                        <!-- 
                        <buildcommand>org.eclipse.m2e.core.maven2Builder</buildcommand>
                        <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
                         -->
                    </additionalBuildcommands>
                </configuration>
            </plugin>

 

然后再 

 

mvn eclipse:clean

mvn eclipse:eclipse

 

一般的eclipse的项目空间有.project和.classpath两个文件.执行eclipse:eclipse就是让maven的eclipse插件把.classpath内的jar引用地址重新更新一遍. eclipse:clean就是删除所有eclipse项目文件在用eclipse:eclipse重建

 

当然,上面的是复制别人的。

我的解决方案是:

是否所依赖的包是最新的包?

所以先更新该包。

然后Project celan 

0
0
分享到:
评论

相关推荐

    Senfore_DragDrop_v4.1

    Earlier versions of Delphi and C++ Builder will not be supported. If you need Delphi 3 or C++ Builder 3 support you will have to revert to version 3.7 of the Drag and Drop Component Suite. The ...

    u-boot-2009.11-rc1.tar.bz2

    U-Boot Source Code The current source code is available through the _git_ repository at git.denx.de....CVS is no longer supported. The old project page at SourceForge is no longer used and dead.

    postgresql-14.1-1-windows-x64

    Also, several bugs have been found that may have resulted in corrupted indexes, as explained in the next several changelog entries. If any of those cases apply to you, it's recommended to reindex ...

    Turbo C++ 3.0[DISK]

    catalog of entries. 4. If you have an urgent problem that cannot wait and you have sent in the license agreement that came with the package, you may call the Borland Technical Support Department ...

    Turbo C++ 3.00[DISK]

    catalog of entries. 4. If you have an urgent problem that cannot wait and you have sent in the license agreement that came with the package, you may call the Borland Technical Support Department ...

    eric5-5.3.1

    of the remote machine and set the entries of the a.m. configuration tab accordingly. Passive Debugging Passive debugging mode allows the startup of the debugger from outside of the IDE. The ...

    Delphi7.1 Update

    * In the Project Manager, units are incorrectly displayed in the order that they are listed in the USES clause, rather than alphabetically. * Using collections containing component references and ...

Global site tag (gtag.js) - Google Analytics