(tick) These are the notes for the Struts 2 ver. 6.0.3 distribution.

(tick) For prior notes in this release series, see Version Notes 6.0.0

Maven users

If you are a Maven user, you might want to get started using the Maven Archetype.

Maven Dependency
<dependency>
  <groupId>org.apache.struts</groupId>
  <artifactId>struts2-core</artifactId>
  <version>6.0.3</version>
</dependency>

You can also use Struts Archetype Catalog like below

Struts Archetype Catalog
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Staging Repository
<repositories>
  <repository>
    <id>apache.nexus</id>
    <name>ASF Nexus Staging</name>
    <url>https://repository.apache.org/content/groups/staging/</url>
  </repository>
</repositories>

Bug

  • [WW-5185] - TilesDefinition is not found and the request for a Struts action fails after an upgrade from Struts 2.5.30 to Struts 6.0.
  • [WW-5189] - Add missing struts-6.0.dtd
  • [WW-5190] - StackOverflowError when dispatching to JSP
  • [WW-5191] - template/simple/textarea.ftl not rendering parameters correctly
  • [WW-5192] - radiomap.ftl not setting enum key values
  • [WW-5194] - UIBean.evaluateParams() throws an IllegalStateException when getting the nonce out of a session that has been invalidated.
  • [WW-5195] - Dispatcher: Infinite loop with dispatcher FORWARD
  • [WW-5197] - java.lang.UnsupportedOperationException in the date component
  • [WW-5198] - textarea's maxlength attribute displays in tag's body
  • [WW-5203] - lazyPolicyBuilder in DefaultCspSettings is not lazy
  • [WW-5205] - REST plugin cannot start due to injection error
  • [WW-5207] - Convention Plugin - support for ASM 9
  • [WW-5215] - CspInterceptor assumes Session was already created
  • [WW-5216] - Freemarker Checkbox error after migrating from Struts 2.5.29 to 2.5.30

New Feature

  • [WW-5187] - java.lang.NoClassDefFoundError: org/apache/struts2/views/velocity/VelocityManager

Improvement

  • [WW-5173] - Implement additional OGNL cache configuration controls
  • [WW-5188] - Use 6.0 marker instead of 2.6
  • [WW-5218] - Allow to disable CSP related interceptors

Dependency

  • [WW-5193] - Use proper hibernate-validator groupId and upgrade to version 6.1.3.Final
  • [WW-5201] - Bump Log4j2 to 2.18.0
  • [WW-5202] - Update jasperreports to 6.19.1 and exclude optional itext from jasperreports
  • [WW-5204] - Upgrade to OGNL 3.3.3
  • [WW-5208] - Update hibernate-validator to 6.2.4
  • [WW-5212] - Upgrade Spring to version 5.3.22

Issue Detail

Issue List

Other resources