Java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.convert.support.DefaultConversionService

Stack Overflow | Syed | 5 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. 2

    Spring MVC- class org.springframework.core.convert.support.DefaultConversionService not available in 4.3.3.RELEASE

    Stack Overflow | 5 months ago | Syed
    Java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.convert.support.DefaultConversionService

    Root Cause Analysis

    1. Java.lang.NoClassDefFoundError

      Could not initialize class org.springframework.core.convert.support.DefaultConversionService

      at org.springframework.core.env.AbstractPropertyResolver.<init>()
    2. Spring Core
      StandardEnvironment.<init>
      1. org.springframework.core.env.AbstractPropertyResolver.<init>(AbstractPropertyResolver.java:41)
      2. org.springframework.core.env.PropertySourcesPropertyResolver.<init>(PropertySourcesPropertyResolver.java:42)
      3. org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:110)
      4. org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54)
      4 frames
    3. Spring
      StandardServletEnvironment.<init>
      1. org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44)
      1 frame
    4. Spring MVC
      HttpServletBean.init
      1. org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:215)
      2. org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:205)
      3. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
      3 frames
    5. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    6. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
      2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
      3. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828)
      4. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
      5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      6. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
      8. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      9. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      10. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      11. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
      11 frames
    7. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
      4 frames
    8. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    9. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame