org.eclipse.virgo.snaps.core.internal.SnapException: The filter class 'org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter' could not be loaded by

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via eclipse.org by Unknown author, 1 year ago
The filter class 'org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter' could not be loaded by
org.eclipse.virgo.snaps.core.internal.SnapException: The filter class 'org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter' could not be loaded by
at org.eclipse.gemini.web.tomcat.internal.loading.BundleWebappClassLoader.loadClass(BundleWebappClassLoader.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.eclipse.virgo.snaps.core.internal.webapp.container.ManagerUtils.loadComponentClass(ManagerUtils.java:27)
at org.eclipse.virgo.snaps.core.internal.webapp.container.FilterManager.processFilters(FilterManager.java:67)
at org.eclipse.virgo.snaps.core.internal.webapp.container.FilterManager.reifyWebXml(FilterManager.java:58)
at org.eclipse.virgo.snaps.core.internal.webapp.container.FilterManager.(FilterManager.java:54)
at org.eclipse.virgo.snaps.core.internal.webapp.container.StandardVirtualContainer.(StandardVirtualContainer.java:58)
at org.eclipse.virgo.snaps.core.internal.webapp.container.VirtualContainerFactory.fromWebXml(VirtualContainerFactory.java:31)
at org.eclipse.virgo.snaps.core.internal.webapp.WebAppSnap.createVirtualContainer(WebAppSnap.java:160)
at org.eclipse.virgo.snaps.core.internal.webapp.WebAppSnap.init(WebAppSnap.java:103)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor$SnapBinder.hostPublished(SnapFactoryMonitor.java:170)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor$SnapBinder.searchForExistingHost(SnapFactoryMonitor.java:288)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor$SnapBinder.registerHostListener(SnapFactoryMonitor.java:139)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor$SnapBinder.start(SnapFactoryMonitor.java:132)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor$SnapBinder.access$0(SnapFactoryMonitor.java:131)
at org.eclipse.virgo.snaps.core.internal.SnapFactoryMonitor.addingService(SnapFactoryMonitor.java:74)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)
at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:894)
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:950)
at org.eclipse.virgo.snaps.core.internal.deployer.SnapLifecycleListener.createAndRegisterSnapFactoryService(SnapLifecycleListener.java:87)
at org.eclipse.virgo.snaps.core.internal.deployer.SnapLifecycleListener.onStarted(SnapLifecycleListener.java:67)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.nano.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.