2017-07-13 14:24 GMT+02:00 Tamás Barta <bartata...@gmail.com>:
> Hi,
>
> I have just tried to migrate to 2.5.12 from 2.5.10.1. I got the following
> error at startup:
>
> Caused by: 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:108)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.inject.ContainerBuilder.factory(ContainerBuilder.java:83)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:517)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.inject.ContainerBuilder.constant(ContainerBuilder.java:398)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.createBootstrapContainer(DefaultConfiguration.java:284)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:159)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)
> [struts2-core-2.5.12.jar:2.5.12]
> at
> org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)
> [struts2-core-2.5.12.jar:2.5.12]
> at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)
> [struts2-core-2.5.12.jar:2.5.12]
> ... 14 more
>
> Are there any migration step needed?

Looks like more than one struts2-core.jar on the classpath


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to