启动Jboss中run.bat报错
版本:JBOSS 5,jdk1.6
控制台中 JBoss Bootstrap Environment
JBOSS_HOME: G:\jboss-5.1.0.GA
JAVA: G:\Java\jdk1.6.0_45\bin\java
JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server
CLASSPATH: G:\jboss-5.1.0.GA\bin\run.jar
Failed to boot JBoss:
java.lang.ClassNotFoundException: org.jboss.bootstrap.microcontainer.ServerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.jboss.bootstrap.ServerLoader.createServer(ServerLoader.java:359)
at org.jboss.bootstrap.ServerLoader.load(ServerLoader.java:336)
at org.jboss.Main.boot(Main.java:215)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
我配置的环境变量:
CLASSPATH:
.;%JAVA_HOME%\lib\dt.jar;JAVA_HOME%\lib\tools.jar;
JAVA_HOME:
G:\Java\jdk1.6.0_45
JBOSS_HOME:
G:\jboss-5.1.0.GA
Path:
是配置的错吗?整了可长时间都整不好