[
https://issues.jboss.org/browse/WFLY-3887?page=com.atlassian.jira.plugin....
]
Darran Lofthouse edited comment on WFLY-3887 at 9/23/14 5:12 AM:
-----------------------------------------------------------------
Just to clarify, is this using the distribution downloaded from our web site?
Have you double checked the java version on the path before calling add-user.bat? The
error message suggests you are running add-user.bat with Java 6 or below.
was (Author: dlofthouse):
Just to clarify, is this using the distribution downloaded from our web site?
Have you double checked the java version on the path before calling add-user.bat?
UnsupportedClassVersionError is thrown while adding user.
---------------------------------------------------------
Key: WFLY-3887
URL:
https://issues.jboss.org/browse/WFLY-3887
Project: WildFly
Issue Type: Bug
Components: Domain Management, Security
Affects Versions: 8.1.0.Final, 9.0.0.Alpha1
Environment: Windows Server 2008
Java 8u20
Reporter: shinzey shinzey
Assignee: Darran Lofthouse
Labels: domain, security
Fix For: 9.0.0.Beta1
The server can be successfully started, but I'm unable to manage it because running
add-user.bat immediately fails with the following error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/jboss/as/domain/management/security/adduser/AddUser : Unsupported major.minor version
51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at
org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482)
at
org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
at
org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
at org.jboss.modules.Module.loadModuleClass(Module.java:568)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:447)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:414)
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.jboss.modules.Module.run(Module.java:300)
at org.jboss.modules.Main.main(Main.java:460)
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)