admin管理员组

文章数量:1316684

I'm using sturts 7.0.0 custom Anchor class, I got following FreeMarker template error.

The following has evaluated to null or missing:
==> attributes  [in template "template/simple/a-close.ftl" at line 22, column 6]

template/simple/a-close.ftl is a standard struts template. The custom Anchor class is only extended original Anchor class.

This Anchor class worked fine up until struts 6.3.0.

If you try create the same tomcat 10.1 Dynamic Web Project in Eclipse, pull my test project, reload gradle project, and run gradle update_libs to import lib directory.

What settings should I make to properly recognize the attributes?

本文标签: struts2FreeMarker template attributes becomes null in struts 70 customized componentStack Overflow