我想在IntelliJ中使用Eclipse项目。在Eclipse中,项目在其构建路径中有一个jar,它包含一个包含带有多个其他jar的Class-Path条目的清单文件。
当Eclipse检测到清单中的jar并将它们用于类路径时,IntelliJ会抛出编译错误。有没有办法让IntelliJ扫描jar的清单文件并继承依赖项?
正如您在此图片中所看到的,所有jar都是从jbossall-client.jar的类路径继承的。
在IntelliJ中,只有包装jar用作依赖:
jbossall-client.jar中/ META_INF / MANIFEST.MF:
Manifest-Version: 1.0
Implementation-Vendor: JBoss Inc.
Class-Path: commons-logging.jar concurrent.jar ejb3-persistence.jar hi
bernate-annotations.jar hibernate-commons-annotations.jar...