开发者

ClassNotFoundException: error in opening JAR file ...jboss/lib/endorsed/._resolver.jar

开发者 https://www.devze.com 2023-04-12 10:24 出处:网络
When starting my JBoss using bin/run.sh I immediately get this error: Error occurred during initialization of VM

When starting my JBoss using bin/run.sh I immediately get this error:

Error occurred during initialization of VM
j开发者_StackOverflow中文版ava/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.


After you extracted your MAC tar archive on Linux use something like:

find -type f -name '._*' | xargs rm -f

on it, and JBoss will stat correctly.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号