Dear Lukasz, thank you very much for your very fast support all the time. It seems that new version is not compatible with JRebel. Have you tried starting a new version struts app with JRebel?
If I replace the 3 struts jar files I use (core, spring-plugin, convention-plugin) to the old version, everything works fine. If I change back to new ones, it goes wrong. On Thu, Jul 13, 2017 at 2:42 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > 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.cre > ateBootstrapContainer(DefaultConfiguration.java:284) > > [struts2-core-2.5.12.jar:2.5.12] > > at > > com.opensymphony.xwork2.config.impl.DefaultConfiguration.rel > oadContainer(DefaultConfiguration.java:159) > > [struts2-core-2.5.12.jar:2.5.12] > > at > > com.opensymphony.xwork2.config.ConfigurationManager.getConfi > guration(ConfigurationManager.java:63) > > [struts2-core-2.5.12.jar:2.5.12] > > at > > org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispat > cher.java:960) > > [struts2-core-2.5.12.jar:2.5.12] > > at > > org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfigu > ration(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 > >