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

Samebug tips

  1. ,
    Expert tip

    The server rejects all jars that already belong to the server runtime (such as tomcat-**.jar, servlet**.jar). Consider substituting the CORS filter you're using for this one: https://goo.gl/ctQ7Fs

  2. ,

    This is thrown when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be found in the classpath. Make sure poi-ooxml library jar is added to your project's build path and you are using the latest version.

Solutions on the web

via Spring JIRA by Hendy Irawan, 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
via Spring JIRA by Hendy Irawan, 1 year ago
Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class
via GitHub by ceefour
, 1 year ago
Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'undertowEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot
via Stack Overflow by Haneep CR
, 1 year ago
Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Lorg/springframework/boot/context/embedded/Ssl; at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:135)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:476)[spring-context-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java)[spring-context-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:142)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at com.quikdo.hub.app.HubApplication.main(HubApplication.java:55)[classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_20] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_20] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_20] at java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_20] at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)[idea_rt.jar:na]Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Lorg/springframework/boot/context/embedded/Ssl; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:547)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getEmbeddedServletContainerFactory(EmbeddedWebApplicationContext.java:195)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:158)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:132)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] ... 12 moreCaused by: java.lang.NoClassDefFoundError: Lorg/springframework/boot/context/embedded/Ssl; at java.lang.Class.getDeclaredFields0(Native Method)[na:1.8.0_20] at java.lang.Class.privateGetDeclaredFields(Class.java:2570)[na:1.8.0_20] at java.lang.Class.getDeclaredFields(Class.java:1903)[na:1.8.0_20] at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:392)[spring-orm-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:332)[spring-orm-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:909)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:470)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1073)[spring-context-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.getCustomizers(EmbeddedServletContainerCustomizerBeanPostProcessor.java:74)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:66)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizerBeanPostProcessor.postProcessBeforeInitialization(EmbeddedServletContainerCustomizerBeanPostProcessor.java:54)[spring-boot-1.1.5.RELEASE.jar:1.1.5.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1546)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.0.8.RELEASE.jar:4.0.8.RELEASE] ... 20 moreCaused by: java.lang.ClassNotFoundException: org.springframework.boot.context.embedded.Ssl at java.net.URLClassLoader$1.run(URLClassLoader.java:372)[na:1.8.0_20] at java.net.URLClassLoader$1.run(URLClassLoader.java:361)[na:1.8.0_20] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_20] at java.net.URLClassLoader.findClass(URLClassLoader.java:360)[na:1.8.0_20] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_20] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[na:1.8.0_20] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_20] ... 40 more