strange error when migrating to convention plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
I am doing migration tests to convention plugin using a project generated with the archetype "struts2-archetype-blank" After migrating the actions from struts.xml using the @Action annotation, I could observe the following: The line (in a JSP): " rel="stylesheet" type="text/css"/> generates the

EmptyStackException after upgrading Strut 2.3 to 2.5

2019-01-25 Thread Eduardo Quintanilla
Hi, I recently upgraded Struts from version 2.3.34 to 2.5.20. After doing the recommended fixes the application runs correctly but an exception started happening sporadically. The app is built and runs in JDK 8 with Tomcat 9.0.12 The app is a little big so i have not able to create an example

Re: S2.5.20 Illegal reflective access by ognl.OgnlRuntime

2019-01-25 Thread Lukasz Lenart
Hi Burton, This probably is related to https://issues.apache.org/jira/browse/WW-5004 https://issues.apache.org/jira/browse/WW-5006 and you can downgrade OGNL version to 3.1.18 or wait for 2.5.21 (should be ready soon) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ pt., 25 sty

S2.5.20 Illegal reflective access by ognl.OgnlRuntime

2019-01-25 Thread Burton Rhodes
After upgrading my application to JDK 11 and S2.5.20 I am receiving the following warning. Curious if there is a bug or if my resolved version of ognl should be corrected in my pom.xml file WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by

Re: Java 11 support

2019-01-25 Thread Sebastian Götz
Hey guys, I can tell you now that my other problems or not related to the ASM configuration or Java 11. In the Apache JIRA I have created another issues (https://issues.apache.org/jira/browse/WW-5006) which is related to OGNL accessing static fields. Kind regards, Sebastian Am 24.01.2019 um

Re: Java 11 support

2019-01-25 Thread Yasser Zamani
Hello and Thank you Sebastian! Could you please continue with this workaround: downgrade OGNL to 3.1.18. ognl ognl 3.1.18 and report if any further issue emerges? If so it's so great to fix them as well for 2.5.21. If not, then, it's an another evidence to merge [1], I think :) Sincerely

Migration struts.xml to Convention Plugin - Struts 2.5.20

2019-01-25 Thread developer researcher
Hello, I want to migrate a web application based on struts.xml to use annotations, but I have not found documentation and/or examples for the next cases: *1. * How should be the @Action (?) Annotation be for the default action? *2. Global Exception Handling* The documentation of convention