线程"main"中的异常java.lang.NoClassDefFoundError:org/jboss/util/Nested RuntimeException [英] Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/Nested RuntimeException

查看:90
本文介绍了线程"main"中的异常java.lang.NoClassDefFoundError:org/jboss/util/Nested RuntimeException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

启动jBoss5.x服务器时,出现以下异常

When I start my jBoss5.x server I get the following exception

Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/Nested
RuntimeException
        at org.jboss.bootstrap.AbstractServerImpl.doInit(AbstractServerImpl.java
:190)
        at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:1
73)
        at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:1
43)
        at org.jboss.Main.boot(Main.java:218)
        at org.jboss.Main$1.run(Main.java:556)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.jboss.util.NestedRuntimeExcepti
on
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

我已经设置了我的java类路径 我对jBoss比较陌生,所以我无法理解问题的原因.

I have set my java class path I am fresher with jBoss so I cant understand the reason for the issue.

任何帮助将不胜感激

推荐答案

就我而言,旋转脚本会引发相同的异常.经过一番挣扎之后,我发现jbossall-client.jar丢失了.我将其复制到客户端文件夹下,并且按预期方式工作.

In my case, twiddle script throws the same exception. After some struggle I found that jbossall-client.jar was missing. I copied it under client folder and it worked as expected.

这篇关于线程"main"中的异常java.lang.NoClassDefFoundError:org/jboss/util/Nested RuntimeException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆