Invalid classpath publish/export dependency /common. Project entries not supported

来源:互联网 发布:php is a 编辑:程序博客网 时间:2024/06/16 15:16

eclipse中使用maven构建多模块项目,想在read-face(war)中引入read-common(jar),在pom.xml中可以引入,使用maven打包生成的war也没问题,可以在eclipse中一直报错:Invalid classpath publish/export dependency /common. Project entries not supported


解决:

项目右键>Properties -> Deployment Assembly -> Add

在弹出的框中选中read-common项目

0 0