struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bscitygirl <priya4ka...@gmail.com>
Subject Re: AW: Dependency mapping for [type=java.lang.String, name='struts.devMode'] already exists error in Eclipse
Date Fri, 12 Oct 2018 15:04:25 GMT
So I tried restarting Eclipse and a clean build. Am still seeing same error
and additionally below error:

<Oct 12, 2018 10:54:32 AM EDT> <Warning> <HTTP> <BEA-101162> <User
defined
listener org.apache.struts2.tiles.StrutsTilesListener failed:
java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/util/finder/ResourceFinder.
java.lang.NoClassDefFoundError:
com/opensymphony/xwork2/util/finder/ResourceFinder
	at
org.apache.struts2.tiles.StrutsWildcardServletApplicationContext.&lt;init>(StrutsWildcardServletApplicationContext.java:76)
	at
org.apache.struts2.tiles.StrutsTilesInitializer.createTilesApplicationContext(StrutsTilesInitializer.java:44)
	at
org.apache.tiles.startup.AbstractTilesInitializer.initialize(AbstractTilesInitializer.java:61)
	at
org.apache.tiles.web.startup.AbstractTilesListener.contextInitialized(AbstractTilesListener.java:53)
	at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:661)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
	at
weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:241)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:198)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:183)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1783)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)
	at .
.
.
.
.
.
.
Caused By: java.lang.ClassNotFoundException:
com.opensymphony.xwork2.util.finder.ResourceFinder
	at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:335)
	at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:302)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:180)
	at
org.apache.struts2.tiles.StrutsWildcardServletApplicationContext.<init>(StrutsWildcardServletApplicationContext.java:76)
	at
org.apache.struts2.tiles.StrutsTilesInitializer.createTilesApplicationContext(StrutsTilesInitializer.java:44)
	at
org.apache.tiles.startup.AbstractTilesInitializer.initialize(AbstractTilesInitializer.java:61)
	at
org.apache.tiles.web.startup.AbstractTilesListener.contextInitialized(AbstractTilesListener.java:53)
	at
weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:661)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
	at
weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:241)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:198)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:183)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1783)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2807)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1661)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:822)
	at
weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:360)
	at
weblogic.application.internal.ExtensibleModuleWrapper$StartStateChange.next(ExtensibleModuleWrapper.java:356)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
	at
weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:138)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
	at
weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:222)
	at
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:414)
	at
weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
	at
weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
	at
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
	at
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
	at
weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:191)
	at
weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:99)
	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
> 


10:54:32.915 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] ERROR
org.apache.struts2.dispatcher.Dispatcher - Dispatcher initialization failed
com.opensymphony.xwork2.inject.DependencyException: Dependency mapping for
[type=java.lang.String, name='struts.devMode'] already exists.
	at
com.opensymphony.xwork2.inject.ContainerBuilder.checkKey(ContainerBuilder.java:138)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.inject.ContainerBuilder.factory(ContainerBuilder.java:99)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:562)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:438)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:292)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:162)
~[struts2-core-2.5.17.jar:2.5.17]
	at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
~[struts2-core-2.5.17.jar:2.5.17]
	at
org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
~[struts2-core-2.5.17.jar:2.5.17]
	at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
~[struts2-core-2.5.17.jar:2.5.17]
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
[struts2-core-2.5.17.jar:2.5.17]
	at
org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
[struts2-core-2.5.17.jar:2.5.17]
	at
org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
[struts2-core-2.5.17.jar:2.5.17]
	at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:577)
[weblogic.server.merged.jar:12.1.2.0.0]
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[weblogic.server.merged.jar:12.1.2.0.0]
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
[com.oracle.css.weblogic.security.wls_7.0.0.0.jar:CSS 7.0 0.0]
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
[weblogic.server.merged.jar:12.1.2.0.0]
	at
weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:137)
[weblogic.server.merged.jar:12.1.2.0.0]



-----
bscitygirl
--
Sent from: http://struts.1045723.n5.nabble.com/Struts-Dev-f3499899.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message