You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "abhinay.jdhv" <ab...@gmail.com> on 2017/05/31 18:43:38 UTC
Artemis: ActiveMQJAASSecurityManager : Unsupported major.minor
version 52.0
I am trying to setup embedded version in my code, but while doing that below
exception is getting thrown.
My code is running on Java 1.7 and when I saw artemis 2.1.0 pom.xml target
and source is set to Java 1.8.
Does that mean Artemis 2.1.0 is not supposed to be run on Java 1.7?
I can not switch to Java1.7
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
Error loading class
[org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager]
for bean with name 'securityManager' defined in class path resource
[spring-artemis.xml]: problem with class file or dependent class; nested
exception is java.lang.UnsupportedClassVersionError: or
g/apache/activemq/artemis/spi/core/security/ActiveMQJAASSecurityManager :
Unsupported major.minor version 52.0
--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-ActiveMQJAASSecurityManager-Unsupported-major-minor-version-52-0-tp4726831.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Artemis: ActiveMQJAASSecurityManager : Unsupported major.minor
version 52.0
Posted by "abhinay.jdhv" <ab...@gmail.com>.
Thanks Justin.
We have decided to move to Java 1.8 as Artemis 2.1.0 can only run on Java
1.8.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-ActiveMQJAASSecurityManager-Unsupported-major-minor-version-52-0-tp4726831p4728190.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
Re: Artemis: ActiveMQJAASSecurityManager : Unsupported major.minor
version 52.0
Posted by Justin Bertram <jb...@apache.org>.
> Does that mean Artemis 2.1.0 is not supposed to be run on Java 1.7?
Artemis 2.1.0 uses features from Java 8 (e.g. lambdas) so it will need to run on a JVM which supports Java 8.
> I can not switch to Java1.7
I assume you meant "Java1.8." If so, then you'll need to use an older version of the broker that doesn't require Java 8.
Justin
----- Original Message -----
From: "abhinay.jdhv" <ab...@gmail.com>
To: dev@activemq.apache.org
Sent: Wednesday, May 31, 2017 1:43:38 PM
Subject: Artemis: ActiveMQJAASSecurityManager : Unsupported major.minor version 52.0
I am trying to setup embedded version in my code, but while doing that below
exception is getting thrown.
My code is running on Java 1.7 and when I saw artemis 2.1.0 pom.xml target
and source is set to Java 1.8.
Does that mean Artemis 2.1.0 is not supposed to be run on Java 1.7?
I can not switch to Java1.7
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
Error loading class
[org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager]
for bean with name 'securityManager' defined in class path resource
[spring-artemis.xml]: problem with class file or dependent class; nested
exception is java.lang.UnsupportedClassVersionError: or
g/apache/activemq/artemis/spi/core/security/ActiveMQJAASSecurityManager :
Unsupported major.minor version 52.0
--
View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-ActiveMQJAASSecurityManager-Unsupported-major-minor-version-52-0-tp4726831.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.