gpt4 book ai didi

jakarta-ee - Eclipse 构建路径警告

转载 作者:行者123 更新时间:2023-12-05 00:29:57 25 4
gpt4 key购买 nike

我无法在 GlassFish 上部署我的 Java EE 应用程序,因为我在“问题” View 上有此构建路径警告:

Description Resource Path Location Type Classpath entry eclipse.fproj.jdt.libprov.osgi/jpt.jpa is marked for publish/export but is not exported on the project classpath. Classpath visibility within Eclipse and at runtime will differ. declaration-reglementaire-dao P/declaration-reglementaire-dao Classpath Dependency Validator Message



和这个:

Description Resource Path Location Type Facet version for Enterprise Application project declaration-reglementaire-ear must be 5.0 to contain Java EE 5.0 project declaration-reglementaire-serviceweb. declaration-reglementaire-ear P/declaration-reglementaire-ear Enterprise Application Validator Message

最佳答案

解决了。我将它标记为 Java EE 模块依赖项,但我没有选择它进行导出。在项目属性窗口中,我转到 Java Build Path > Order and Export 并在 OSGi Bundels (JPA) 条目旁边打勾。

关于jakarta-ee - Eclipse 构建路径警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16666694/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com