Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Alice
, 1 year ago
Unable to start embedded container; nested exception is java.lang.ExceptionInInitializerError
via Stack Overflow by VNT
, 2 months ago
Unable to start embedded container; nested exception is org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean.
via Stack Overflow by piyush
, 2 years ago
Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot
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 moreCaused 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