org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/MimeType

javatalks.ru | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    javatalks.ru / NoClassDefFoundError: org/springframework/util/MimeType

    javatalks.ru | 9 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/springframework/util/MimeType
  2. 0

    Spring Data + Neo4J + Bolt not working

    Stack Overflow | 8 months ago | Stephan Neuhaus
    java.lang.NoClassDefFoundError: org/springframework/aop/framework/autoproxy/AbstractBeanFactoryAwareAdvisingPostProcessor
  3. 0

    Not able to start an app in api.run.pivotal.io : Pivotal Web Services Support

    pivotal.io | 1 year ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JasperserverUI doesnt start under a pre-existing Tomcat 7 | Jaspersoft Community

    jaspersoft.com | 11 months ago
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jasperserver]]
  6. 0

    GCM XMPP - Error on start web application server

    Stack Overflow | 2 years ago | araraujo
    java.lang.NoClassDefFoundError: org/jivesoftware/smack/initializer/SmackAndOsgiInitializer

  1. marcbouvierdav 2 times, last 4 weeks ago
  2. linxiaolong 1 times, last 2 months ago
  3. DoktorDoener666 1 times, last 3 months ago
  4. chenjunjun 1 times, last 3 months ago
  5. treefolk 2 times, last 4 months ago
7 more registered users
88 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. java.lang.ClassNotFoundException

    org.springframework.util.MimeType

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1332)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
    2 frames
  3. Java RT
    SecureClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(Unknown Source)
    3. java.security.SecureClassLoader.defineClass(Unknown Source)
    3 frames
  4. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:2495)
    2. org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:859)
    3. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1301)
    4. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1166)
    4 frames
  5. Spring
    StringHttpMessageConverter.<init>
    1. org.springframework.http.converter.StringHttpMessageConverter.<init>(StringHttpMessageConverter.java:65)
    2. org.springframework.http.converter.StringHttpMessageConverter.<init>(StringHttpMessageConverter.java:57)
    2 frames
  6. Spring MVC
    AnnotationMethodHandlerAdapter.<init>
    1. org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.<init>(AnnotationMethodHandlerAdapter.java:197)
    1 frame
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  8. Spring Beans
    AbstractAutowireCapableBeanFactory.createBean
    1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
    2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
    7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:286)
    7 frames
  9. Spring MVC
    FrameworkServlet$ContextRefreshListener.onApplicationEvent
    1. org.springframework.web.servlet.DispatcherServlet.createDefaultStrategy(DispatcherServlet.java:808)
    2. org.springframework.web.servlet.DispatcherServlet.getDefaultStrategies(DispatcherServlet.java:777)
    3. org.springframework.web.servlet.DispatcherServlet.initHandlerAdapters(DispatcherServlet.java:585)
    4. org.springframework.web.servlet.DispatcherServlet.initStrategies(DispatcherServlet.java:442)
    5. org.springframework.web.servlet.DispatcherServlet.onRefresh(DispatcherServlet.java:430)
    6. org.springframework.web.servlet.FrameworkServlet.onApplicationEvent(FrameworkServlet.java:752)
    7. org.springframework.web.servlet.FrameworkServlet$ContextRefreshListener.onApplicationEvent(FrameworkServlet.java:989)
    8. org.springframework.web.servlet.FrameworkServlet$ContextRefreshListener.onApplicationEvent(FrameworkServlet.java:1)
    8 frames
  10. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.event.GenericApplicationListenerAdapter.onApplicationEvent(GenericApplicationListenerAdapter.java:51)
    2. org.springframework.context.event.SourceFilteringListener.onApplicationEventInternal(SourceFilteringListener.java:97)
    3. org.springframework.context.event.SourceFilteringListener.onApplicationEvent(SourceFilteringListener.java:68)
    4. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)
    5. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:324)
    6. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:929)
    7. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467)
    7 frames
  11. Spring MVC
    HttpServletBean.init
    1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:631)
    2. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:588)
    3. org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:645)
    4. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:508)
    5. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:449)
    6. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:133)
    6 frames
  12. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
    1 frame
  13. Glassfish Core
    HostConfig$DeployDescriptor.run
    1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
    2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
    3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
    4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4914)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5201)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
    8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
    9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
    10. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
    11. org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1750)
    11 frames
  14. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5. java.lang.Thread.run(Unknown Source)
    5 frames