On 16.01.25 19:03, Lukasz Lenart wrote:
Could you try to define struts.allowlist.packageNames or disable it
struts.allowlist.enable=false? I meant we are probably missing
something around this when loading actions from JARs, as the allowlist
are dynamically updated based on convention mechanism
B
On 15.01.25 08:25, Lukasz Lenart wrote:
I assume you jar
contains only Convention based actions?
Yes, they are all Convention based actions.
Sorry, I didn't had the time to do more testing. If you want me to try
something out, just let me know.
Regards, Florian
smime.p7s
Description: S/MIME
On 24.12.24 07:51, Lukasz Lenart wrote:
Other option is to define
"struts.convention.package.locators.basePackage" [1] and I'm playing
with this example [2] yet I was not able to reproduce behaviour
described by you - even if I removed
"struts.convention.package.locators.basePackage" I don't
"org
On 23.12.24 20:51, Lukasz Lenart wrote:
Could you define your own excluded packages using constant
"struts.convention.exclude.packages"? The problem I see the
"com.opensymphony.xwork2" package was never excluded, so this problem
would have to occur earlier
Sorry but I don't get it. How can I achi
On 23.12.24 19:12, Lukasz Lenart wrote:
It doesn't match because there is no ".", this works:
public static void main(String[] args) {
String packageExclude = "org.apache.struts2.*";
String classPackageName = "org.apache.struts2.";
WildcardHelper wildcardHelper = new WildcardHelp
n't have a copy of older JARs somewhere
czw., 19 gru 2024 o 17:27 Florian Schlittgen napisaĆ(a):
Hi,
I currently migrating an application from struts 6 to 7 using the
pre-release. I am using the convention plugin and I am getting the
following error:
ERROR [org.apache.struts2.convention.Defau
Hi,
I currently migrating an application from struts 6 to 7 using the
pre-release. I am using the convention plugin and I am getting the
following error:
ERROR [org.apache.struts2.convention.DefaultClassFinder] (default
task-1) Error loading class [org.apache.struts2.XWorkTestCase]:
java.lang.No
Hi,
I currently migrating an application from struts 6 to 7 using the
pre-release. I am using the convention plugin and I am getting the
following error:
ERROR [org.apache.struts2.convention.DefaultClassFinder] (default
task-1) Error loading class [org.apache.struts2.XWorkTestCase]:
java.la