打开 zip 文件时出错或缺少 JAR 清单:../modules/org.eclipse.persistence_1.1.0.0_2-1.jar
我正在 jdeveloper 11.1.2 中构建一个项目,但是当我想在 weblogic 中部署它时,会出现下一条消息
Error opening zip file or JAR manifest miss : ../modules/org.eclipse.persistence_1.1.0.0_2-1 .jar
文件就在那里,所以我不知道发生了什么。
I am building a project in jdeveloper 11.1.2, but when i want to deploy it in weblogic it appears the next message
Error opening zip file or JAR manifest missing : ../modules/org.eclipse.persistence_1.1.0.0_2-1.jar
The file is there so i don't know what's happening.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
此问题的解决方案是删除项目文件中名为“RunConfigurations”的哈希区域。 (型号.jpr)
The solution for this problem is removing the hash area named "RunConfigurations" in the project file. (Model.jpr)
我已经用不同的方式解决了这个问题。
首先,它是一个集成的 weblogic 服务器,并且在我的 Windows XP 计算机上安装安全补丁后就出现了错误。
修复:
在 JDeverloper 中转到“View”->“Application Server Navigor”;选择“IntegratedWeblogicServer”并打开属性。我们需要域目录。 IntegratedWeblogicServer 的域目录不在
“..:\Oracle\Middleware”
下。默认情况下,它放置在(至少在我的计算机上)“C:\Documents and Settings\user name\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\”
下。因此,将整个 modules 文件夹从 Fusion Middleware 主目录
"..:\Oracle\Middleware\"
复制到"C:\Documents and Settings\user name\Application数据\JDeveloper\system11.1.2.1.38.60.81"
。重新启动集成 weblogic 服务器。
它对我有用......
祝你好运。
I have resolved this issue in different way.
First of all it was an integrated weblogic server and the error was coming exactly after security patches have been installed on my Windows XP machine.
To repair:
In JDeverloper go to "View"->"Application Server Navigotor"; select IntegratedWeblogicServer and open properties. We need Domain Directory. Domain Directory for the
IntegratedWeblogicServer
is not located under"..:\Oracle\Middleware"
. By default it was placed (at least on my machine) under"C:\Documents and Settings\user name\Application Data\JDeveloper\system11.1.2.1.38.60.81\DefaultDomain\"
.So copy entire modules folder from you Fusion Middleware home
"..:\Oracle\Middleware\"
to"C:\Documents and Settings\user name\Application Data\JDeveloper\system11.1.2.1.38.60.81"
.Restart integrated weblogic server.
It works for me ...
Good luck.
JDeveloper 版本的答案:11.1.2.1.0:
右键单击 Model.jpr -> 项目属性 -> 运行/调试/配置文件 ->运行配置。选择EclipseLink JPA Client -> 编辑 -> 启动设置 -> Java选项 -->
-javaagent:D:/JDeveloper/modules/org.eclipse.persistence_1.1.0.0_2-1.jar
D:/JDeveloper/modules 是其中的路径我的 org.eclipse.persistence_1.1.0.0_2-1.jar 文件位于。
因此,请提供
-javaagent:
之后的org.eclipse.persistence_1.1.0.0_2-1.jar
路径Answer for JDeveloper version : 11.1.2.1.0:
Right Click Model.jpr -> Project Properties -> Run/Debug/Profile -> Run Configurations. Select EclipseLink JPA Client -> Edit -> Launch Settings -> Java Options -->
-javaagent:D:/JDeveloper/modules/org.eclipse.persistence_1.1.0.0_2-1.jar
D:/JDeveloper/modules is the path where my
org.eclipse.persistence_1.1.0.0_2-1.jar
file is located.So give whatever your
org.eclipse.persistence_1.1.0.0_2-1.jar
path is after-javaagent:
我在 Windows 7 中使用 JDeveloper 11g 11.1.2.1.0 (R2) 时遇到了同样的问题,我通过卸载以下 Windows 自动更新解决了这个问题,这不是 JDeveloper 中的项目或特定应用程序的问题,因为它发生了尝试运行集成的 WebServer。
这些是已卸载的更新:
I had the same problem with JDeveloper 11g 11.1.2.1.0 (R2) in Windows 7, and I solved it by uninstalling the following automatic updates of windows, it is not a problem of a project or specific application in JDeveloper, because it occurs at trying to run the integrated WebServer.
These are the uninstalled updates: