1 Reply Latest reply on Jun 1, 2017 9:14 AM by Justin Bertram

    Artemis: ActiveMQJAASSecurityManager : Unsupported major.minor version 52.0

    Abhinay Jadhav Newbie

      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 1.7 as our production environment is

       

      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: org/apache/activemq/artemis/spi/core/security/ActiveMQJAASSecurityManager : Unsupported major.minor version 52.0