JBOSS 5.0 不能使用 JDK 1.7

JBOSS 5.0使用 JDK 1.7 時啓動報錯:java

Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/bootstrap/BaseServerConfigbootstrap

at org.jboss.bootstrap.AbstractServerImpl.doInit(AbstractServerImpl.java:190)spa

at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:173).net

at org.jboss.bootstrap.AbstractServerImpl.init(AbstractServerImpl.java:143)it

at org.jboss.Main.boot(Main.java:218)io

at org.jboss.Main$1.run(Main.java:556)thread

at java.lang.Thread.run(Thread.java:745)sed

Caused by: java.lang.ClassNotFoundException: org.jboss.bootstrap.BaseServerConfigim

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)img

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:425)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

... 6 more

將JDK 換成1.6 問題解決

相關文章
相關標籤/搜索