struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamás Barta <bartata...@gmail.com>
Subject Struts 2.5.12
Date Thu, 13 Jul 2017 12:24:04 GMT
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?

Regards, Tamás

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message