问题描述
- 跪求大神帮忙解决一个java问题
- Invalid classpath publish/export dependency com.genuitec.runtime.library/com.genuitec.generic_6.0. The associated classpath container cannot be included in the published/exported module.
这个问题到底是啥意思,困扰一天了
解决方案
解决:
不要动eclipse.在控制台执行:mvn eclipse:eclipse然后刷新eclipse的项目试试.再不行就在pom中的plugins节点内加:
org.apache.maven.plugins
maven-eclipse-plugin
2.9
org.eclipse.jdt.core.javanature
<!--
org.eclipse.m2e.core.maven2Nature
org.springframework.ide.eclipse.core.springnature
-->
org.eclipse.jdt.core.javabuilder
<!--
org.eclipse.m2e.core.maven2Builder
org.springframework.ide.eclipse.core.springbuilder
-->
然后再
mvn eclipse:clean
mvn eclipse:eclipse
解释:
一般的eclipse的项目空间有.project和.classpath两个文件.执行eclipse:eclipse就是让maven的eclipse插件把.classpath内的jar引用地址重新更新一遍.
eclipse:clean就是删除所有eclipse项目文件在用eclipse:eclipse重建
时间: 2024-10-10 04:26:24