org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.ExceptionInInitializerError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • SQuirreL SQL Client / Mailing Lists
    via by Unknown author,
    • org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.ExceptionInInitializerError at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:535)[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at main.java.appstarter.SpringBootPractice.main(SpringBootPractice.java:19)[bin/:na] Caused by: java.lang.ExceptionInInitializerError: null at org.apache.tomcat.util.buf.UDecoder.URLDecode(UDecoder.java:352)[tomcat-embed-core-8.5.5.jar:8.5.5] at org.apache.tomcat.util.buf.UDecoder.URLDecode(UDecoder.java:324)[tomcat-embed-core-8.5.5.jar:8.5.5] at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:3113)[tomcat-embed-core-8.5.5.jar:8.5.5] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.addServletMapping(TomcatEmbeddedServletContainerFactory.java:277)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.addDefaultServlet(TomcatEmbeddedServletContainerFactory.java:257)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.prepareContext(TomcatEmbeddedServletContainerFactory.java:213)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:176)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134)[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE] ... 8 more Caused by: java.lang.NullPointerException: null at java.nio.charset.Charset.put(Charset.java:538)[na:1.8.0_51] at java.nio.charset.Charset.access$200(Charset.java:271)[na:1.8.0_51] at java.nio.charset.Charset$3.run(Charset.java:584)[na:1.8.0_51] at java.nio.charset.Charset$3.run(Charset.java:573)[na:1.8.0_51] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_51] at java.nio.charset.Charset.availableCharsets(Charset.java:572)[na:1.8.0_51] at org.apache.tomcat.util.buf.B2CConverter.<clinit>(B2CConverter.java:49)[tomcat-embed-core-8.5.5.jar:8.5.5] ... 17 more
    No Bugmate found.