ClassNotFoundException:打开 JAR 文件时出错...jboss/lib/endorsed/._resolver.jar
当使用 bin/run.sh 启动 JBoss 时,我立即收到此错误:
Error occurred during initialization of VM
java/lang/ClassNotFoundException: error in opening JAR file /home/polopoly/jboss/lib/endorsed/._resolver.jar
确实有一个文件 jboss/lib/endorsed/resolver.jar,但不是 ._resolver.jar。 '._' 从哪里来?我在启动脚本中找不到类似的内容。
Jboss 位于 Amazon 云计算机中,并已以 .tgz 形式被 scp 到 jar 内。这可能是错误的根源吗?但我做了“grep -R '._resolver.jar'”。在 jboss 目录中没有结果,因此没有包含该字符串的脚本文件。
When starting my JBoss using bin/run.sh I immediately get this error:
Error occurred during initialization of VM
java/lang/ClassNotFoundException: error in opening JAR file /home/polopoly/jboss/lib/endorsed/._resolver.jar
There is indeed a file jboss/lib/endorsed/resolver.jar, but not a ._resolver.jar. Where is the '._' coming from?! I can't find anything like that in the start scripts.
The Jboss is in a Amazon cloud machine and have been scp'd there as a .tgz inside a jar. Could this be a source of error? But I did a "grep -R '._resolver.jar' ." in the jboss dir with no results, so there is no script file with that string.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Linux 上提取 MAC tar 存档后,使用类似以下命令
,JBoss 将正确统计数据。
After you extracted your MAC tar archive on Linux use something like:
on it, and JBoss will stat correctly.