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

Stack Overflow | Syed | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 2

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

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

    Running Forms under Internet Browsers

    Oracle Community | 2 decades ago | 3004
    Java.lang.NoClassDefFoundError: 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 not get the same error. Webforms did not work better. Then I crearted a simple Forms application. I tried it under the MS-Internet Explorer 4.72.76786876786776876986... I got a window with the Forms' menu but there were nothing else on that window : no data field. The menu works! I trid the EDIT option and I got the value of the current field ... So you can develope applications with Oracle Developer in client/server mode and you can then deploy them on the web using the EDIT option of the Forms' main menu. Shahram MOINVAZIRI (guest) wrote: ORACLE_HOME\Tools\DevDem60\Web\Readme.htm. on oracle/forms/engine/Main 4.72.3110.8 sun/applet/AppletViewer. at java.lang.ClassLoader.defineClass0(Native Method at java.lang.ClassLoader.defineClass(Compiled Code) at java.security.SecureClassLoader.defineClass(Comp at sun.applet.AppletClassLoader.findClass(Compiled at java.lang.ClassLoader.loadClass(Compiled Code) at sun.applet.AppletClassLoader.loadClass(Compiled at java.lang.ClassLoader.loadClass(Compiled Code) at java.util.ResourceBundle.findBundle(Compiled Cod at java.util.ResourceBundle.getBundle(Compiled Code at java.util.ResourceBundle.getBundle(ResourceBundl at oracle.forms.registry.MessageManager.getMessage( at oracle.forms.registry.MessageManager.getMessage( at oracle.forms.engine.Main.getCascadeMenuItem(Main at oracle.forms.engine.Main.getWindowMenu(Main.java at oracle.forms.engine.Main.createDefaultMenuBar(Ma at oracle.forms.engine.Main.initDesktop(Compiled Co at oracle.forms.engine.Main.start(Compiled Code) at sun.applet.AppletPanel.run(Compiled Code)

    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