Java.lang.NoClassDefFoundError

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • Could not initialize class org.springframework.core.convert.support.DefaultConversionService
  • via Stack Overflow by Sang B. Han
    , 1 week ago
    Could not initialize class com.sun.jna.platform.win32.Advapi32
  • via Oracle Community by 3004, 1 year ago
    sun/applet/AppletViewer" I found a Java Package in a zip file names tclasses.zip under C:\Windows\Java... (in a Win 95 PC and not NT). Then, I created the directory $ORACLE_FORMS$/Java/sun/applet and I inflated the package in that directory. I did
  • Stack trace

    • Java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.convert.support.DefaultConversionService at org.springframework.core.env.AbstractPropertyResolver.<init>(AbstractPropertyResolver.java:41) at org.springframework.core.env.PropertySourcesPropertyResolver.<init>(PropertySourcesPropertyResolver.java:42) at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:110) at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) at org.springframework.web.context.support.StandardServletEnvironment.<init>(StandardServletEnvironment.java:44) at org.springframework.web.servlet.HttpServletBean.createEnvironment(HttpServletBean.java:215) at org.springframework.web.servlet.HttpServletBean.getEnvironment(HttpServletBean.java:205) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:828) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:670) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.