java.lang.NoClassDefFoundError: MessageContext

geronimo-user | Ivan | 5 years 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

    Re: Virtual Host Configuration

    geronimo-user | 5 years ago | Ivan
    java.lang.ClassNotFoundException: MessageContext in classloader hebeidomains/whois-web/1.0.1/war
  2. 0

    Re: Virtual Host Configuration

    geronimo-user | 5 years ago | Radim Kolar
    java.lang.NoClassDefFoundError: MessageContext
  3. 0

    Problems with Classloader in Geronimo

    dozer | 6 years ago | *anonymous
    org.dozer.MappingException: java.lang.ClassNotFoundException: org.dozer.util.DefaultClassLoader in classloader console.jms/pwsatkBus/1.0/car
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    # Start Geronimo bundle #* geronimo-2.2.1\bin> geronimo.bat run # Sign in as SA User # Shutdown Geronimo #* geronimo-2.2.1\bin> geronimo.bat stop --user system --password manager System displays exceptions after shutting down Geronimo. {code}18:17:59,256 ERROR [[/]:167] Exception sending context destroyed event to listener instance of class com.liferay.portal.spring.context.PortalContextLoaderListener java.lang.NoClassDefFoundError: org/springframework/web/context/ContextCleanupListener at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:80) at com.liferay.portal.spring.context.PortalContextLoaderListener.contextDestroyed(PortalContextLoaderListener.java:204) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4170) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4843) at org.apache.geronimo.tomcat.GeronimoStandardContext.kill(GeronimoStandardContext.java:245) at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:354) at org.apache.geronimo.tomcat.TomcatWebAppContext.doStop(TomcatWebAppContext.java:542) at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1116) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:340) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:189) at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:547) at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:181) at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:547) at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421) at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:181) at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:547) at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421) at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:339) at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:661) at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:638) at org.apache.geronimo.kernel.KernelGBean.shutdown(KernelGBean.java:382) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851) at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237) at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.ContextCleanupListener in classloader liferay/liferay-portal/6.1.0/car at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:407) at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:257) at java.lang.ClassLoader.loadClass(Unknown Source) ... 53 more{code}

    Liferay Issues | 6 years ago | Oriana Tham
    java.lang.NoClassDefFoundError: org/springframework/web/context/ContextCleanupListener
  6. 0

    Users - Cannot deploy wmq.jmsra.rar (WebSphere MQ)

    nabble.com | 2 years ago
    org.apache.geronimo.common.DeploymentException: Could not load attribute class:  type: int

    1 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

      MessageContext in classloader hebeidomains/whois-web/1.0.1/war

      at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass()
    2. Geronimo :: Kernel
      MultiParentClassLoader.loadClass
      1. org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimizedClass(MultiParentClassLoader.java:407)
      2. org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:257)
      2 frames
    3. Java RT
      Class.getDeclaredMethods
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      2. java.lang.Class.getDeclaredMethods0(Native Method)
      3. java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
      4. java.lang.Class.getDeclaredMethods(Class.java:1791)
      4 frames