org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0

JBoss Issue Tracker | ofbiz brazil | 4 months ago
  1. 0

    After migrating to new version* XNIO 3.4.0*, *Java 7 *launches error saying that library is not compatible. {code:java} 2016-08-04 12:26:16,596 ERROR org.springframework.boot.SpringApplication - Application startup failed org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0 at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369) at org.springframework.boot.SpringApplication.run(SpringApplication.java:313) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174) at com.sbb.dr1.DR1App.main(DR1App.java:27) {code}

    JBoss Issue Tracker | 4 months ago | ofbiz brazil
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0
  2. 0

    After migrating to new version* XNIO 3.4.0*, *Java 7 *launches error saying that library is not compatible. {code:java} 2016-08-04 12:26:16,596 ERROR org.springframework.boot.SpringApplication - Application startup failed org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0 at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369) at org.springframework.boot.SpringApplication.run(SpringApplication.java:313) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174) at com.sbb.dr1.DR1App.main(DR1App.java:27) {code}

    JBoss Issue Tracker | 4 months ago | ofbiz brazil
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0
  3. 0

    Gradle: Build 'fat jar' with Spring Boot Dependencies

    Stack Overflow | 1 year ago | user1445967
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    springboot 1.4升级中遇到的奇葩问题 - 易极客

    com.cn | 2 months ago
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
  6. 0

    Including spring-cloud-starter-eureka-server in dependencies causes application startup to fail

    GitHub | 2 years ago | sampengilly
    org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat

  1. Adarro 1 times, last 4 months ago
  2. Nikolay Rybak 7 times, last 4 months ago
  3. schoetty 3 times, last 7 months ago
  4. fima 2 times, last 3 months ago
  5. Shadd518 1 times, last 4 months ago
3 more registered users
77 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.context.ApplicationContextException

    Unable to start embedded container; nested exception is java.lang.UnsupportedClassVersionError: org/xnio/XnioWorker : Unsupported major.minor version 52.0

    at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh()
  2. Spring Boot
    EmbeddedWebApplicationContext.onRefresh
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)
    1 frame
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535)
    1 frame
  4. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
    2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
    3. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
    6. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
    6 frames
  5. com.sbb.dr1
    DR1App.main
    1. com.sbb.dr1.DR1App.main(DR1App.java:27)
    1 frame