com.liferay.portal.kernel.deploy.hot.HotDeployException

tip

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

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

  • The ultimate exception is: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item {quote} 20:36:55,622 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:161) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheE xception: java.io.InvalidClassException: failed to read class descriptor at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:540) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy74.initServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158) ... 32 more Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to re ad class descriptor at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:78) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536) ... 55 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:98) at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172) at org.hibernate.loader.Loader.list(Loader.java:2167) at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68) ... 58 more Caused by: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:93) at org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29) at org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131) at org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287) at org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791) at net.sf.ehcache.Cache.get(Cache.java:1411) at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91) ... 71 more Caused by: java.io.InvalidClassException: failed to read class descriptor at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1566) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90) ... 81 more Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item at java.lang.ClassLoader.findClass(ClassLoader.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ... 90 more {quote}
    via by Tim Eck,
  • The ultimate exception is: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item {quote} 20:36:55,622 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:161) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheE xception: java.io.InvalidClassException: failed to read class descriptor at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:540) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy74.initServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158) ... 32 more Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to re ad class descriptor at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:78) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536) ... 55 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:98) at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172) at org.hibernate.loader.Loader.list(Loader.java:2167) at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68) ... 58 more Caused by: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:93) at org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29) at org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131) at org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287) at org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791) at net.sf.ehcache.Cache.get(Cache.java:1411) at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91) ... 71 more Caused by: java.io.InvalidClassException: failed to read class descriptor at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1566) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90) ... 81 more Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item at java.lang.ClassLoader.findClass(ClassLoader.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ... 90 more {quote}
    via by Tim Eck,
  • java.lang.ClassNotFoundException: boolean
    via by Unknown author,
  • commons-logging issue
    via GitHub by nadirvardar
    ,
  • GitHub comment 4#12562187
    via GitHub by nadirvardar
    ,
  • Stack Overflow
    via by Unknown author,
    • com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering plugins for opensocial-portlet at com.liferay.portal.kernel.deploy.hot.BaseHotDeployListener.throwHotDeployException(BaseHotDeployListener.java:45) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:161) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._doFireDeployEvent(HotDeployUtil.java:109) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil._fireDeployEvent(HotDeployUtil.java:182) at com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:38) at com.liferay.portal.kernel.servlet.PortletContextListener.doPortalInit(PortletContextListener.java:99) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortletContextListener.contextInitialized(PortletContextListener.java:55) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheE xception: java.io.InvalidClassException: failed to read class descriptor at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:195) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:540) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:457) at com.liferay.portal.service.impl.ServiceComponentLocalServiceImpl.initServiceComponent(ServiceComponentLocalServiceImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor.invoke(DynamicDataSourceTransactionInterceptor.java:44) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:58) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy74.initServiceComponent(Unknown Source) at com.liferay.portal.service.ServiceComponentLocalServiceUtil.initServiceComponent(ServiceComponentLocalServiceUtil.java:243) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.initServiceComponent(PluginPackageHotDeployListener.java:306) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.doInvokeDeploy(PluginPackageHotDeployListener.java:217) at com.liferay.portal.deploy.hot.PluginPackageHotDeployListener.invokeDeploy(PluginPackageHotDeployListener.java:158) ... 32 more Caused by: com.liferay.portal.kernel.dao.orm.ORMException: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to re ad class descriptor at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:30) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:78) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:67) at com.liferay.portal.kernel.dao.orm.QueryUtil.list(QueryUtil.java:52) at com.liferay.portal.service.persistence.ServiceComponentPersistenceImpl.findByBuildNamespace(ServiceComponentPersistenceImpl.java:536) ... 55 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:98) at net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy.putFromLoad(AbstractReadWriteEhcacheAccessStrategy.java:90) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:180) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270) at org.hibernate.loader.Loader.doList(Loader.java:2294) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172) at org.hibernate.loader.Loader.list(Loader.java:2167) at org.hibernate.hql.classic.QueryTranslatorImpl.list(QueryTranslatorImpl.java:936) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1258) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at com.liferay.portal.dao.orm.hibernate.QueryImpl.list(QueryImpl.java:68) ... 58 more Caused by: net.sf.ehcache.CacheException: java.io.InvalidClassException: failed to read class descriptor at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:93) at org.terracotta.modules.ehcache.store.ClusteredStoreBackend.onEvict(ClusteredStoreBackend.java:29) at org.terracotta.cache.TerracottaDistributedCache.evict(TerracottaDistributedCache.java:375) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntry(TerracottaDistributedCache.java:214) at org.terracotta.cache.TerracottaDistributedCache.getNonExpiredEntryCoherent(TerracottaDistributedCache.java:131) at org.terracotta.cache.TerracottaDistributedCache.getTimestampedValueQuiet(TerracottaDistributedCache.java:177) at org.terracotta.modules.ehcache.store.ClusteredStore.doGet(ClusteredStore.java:287) at org.terracotta.modules.ehcache.store.ClusteredStore.getQuiet(ClusteredStore.java:270) at net.sf.ehcache.Cache.searchInStoreWithoutStats(Cache.java:1791) at net.sf.ehcache.Cache.get(Cache.java:1411) at net.sf.ehcache.hibernate.regions.EhcacheTransactionalDataRegion.get(EhcacheTransactionalDataRegion.java:91) ... 71 more Caused by: java.io.InvalidClassException: failed to read class descriptor at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1566) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at net.sf.ehcache.SerializationModeElementData.create(SerializationModeElementData.java:27) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:26) at org.terracotta.modules.ehcache.store.ElementSerializationStrategy.deserialize(ElementSerializationStrategy.java:15) at org.terracotta.cache.serialization.SerializedEntry.getDeserializedValue(SerializedEntry.java:132) at org.terracotta.modules.ehcache.store.ValueModeHandlerSerialization.createElement(ValueModeHandlerSerialization.java:90) ... 81 more Caused by: java.lang.ClassNotFoundException: net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy$Item at java.lang.ClassLoader.findClass(ClassLoader.java:359) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.terracotta.modules.ehcache.store.ThreadContextAwareClassLoader.loadClass(ThreadContextAwareClassLoader.java:34) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:96) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:103) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1564) ... 90 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    odd
    1 times, last one,
    tvrmsmith
    2 times, last one,
    Unknown visitor1 times, last one,
    1855 more bugmates