[ 
https://issues.apache.org/jira/browse/WW-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461446#comment-17461446
 ] 

Steven Bell commented on WW-5160:
---------------------------------

I can confirm that the issue is the public getParameters() method. Our source 
code did the same exact thing because it had a getParameters method in the 
top-level action class. I renamed the method and ran Struts 2.5.27 and 2.5.28 
without any library related issues. The Freemarker template error was 
eliminated. Additionally, I removed the deprecated ParameterAware interceptor 
from the same class file. 

> Template not found for name "Empty{name='templateDir'}/simple/hidden.ftl"
> -------------------------------------------------------------------------
>
>                 Key: WW-5160
>                 URL: https://issues.apache.org/jira/browse/WW-5160
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.27, 2.5.28
>         Environment: *Java:* 1.8.0_282
>  
>            Reporter: Eduardo Quintanilla
>            Priority: Major
>             Fix For: 2.6, 2.5.29
>
>         Attachments: sample.zip, struts.log
>
>
> After updating from Struts 2.5.26 to 2.5.27 or 2.5.28 an exception happens of 
> Template not found for name "Empty\{name='templateDir'}/simple/hidden.ftl"
>  
>  # Run sample
>  # Navigate to /app-example/test.action



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to