简体   繁体   English

打开jar文件rt.jar jdeveloper Oracle Middleware时出错

[英]error in opening jar file rt.jar jdeveloper Oracle Middleware

I'm developing a project with web services in JAVA, in JDEV. 我正在用JDEV的JAVA开发带有Web服务的项目。

I'm using Oracle Middleware and I am getting this error when trying to run every time: 我正在使用Oracle中间件,每次尝试运行时都遇到此错误:

Error occurred during initialization of VM java/lang/ClassNotFoundException: error in opening JAR file C:\\Oracle\\Middleware\\Oracle_Home\\oracle_common\\jdk\\jre\\lib\\rt.jar Process exited with exit code 1. VM java / lang / ClassNotFoundException初始化期间发生错误:打开JAR文件C:\\ Oracle \\ Middleware \\ Oracle_Home \\ oracle_common \\ jdk \\ jre \\ lib \\ rt.jar时出错,退出代码为1。

I've found people with the same issue, but apparently no fix so far: https://community.oracle.com/thread/3783771?start=0&tstart=0 我发现有同样问题的人,但到目前为止,显然还没有解决方法: https : //community.oracle.com/thread/3783771?start=0&tstart=0

My workaround is to copy and paste the .jar in my local project folder. 我的解决方法是将.jar复制并粘贴到本地项目文件夹中。 But is pretty annoying to do this everytime I want to run. 但是每次我想跑步时都会很烦。 It works after doing it, so I'm sticking to that for now. 这样做后就可以了,所以我暂时坚持。

I'm using Windows and my app does not "crash" when running in a Web Logic Server so I'm thinking is something in my laptop. 我正在使用Windows,并且在Web Logic Server中运行时,我的应用程序不会“崩溃”,因此我认为笔记本电脑中有东西。

The .jar is fine, and is not 0kb. .jar很好,并且不是0kb。

Modify access control of the rt.jar file in windows. 在Windows中修改rt.jar文件的访问控制。 Give full control to the windows logged in user. 完全控制Windows登录用户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM