pon., 23 gru 2024 o 19:42 Florian Schlittgen <schlitt...@liwa.de> napisał(a): > Thanks for looking into it. Your examples/tests are alright, but I think this > is not the way it is being called. Please take a look at > org.apache.struts2.convention.PackageBasedActionConfigBuilder.includeClassNameInActionScan(String). > While debugging I can see that this method is being called with parameter > "className" = "org.apache.struts2.XWorkTestCase". In the method's first line > the package name is derived from the className by using > "StringUtils.substringBeforeLast(className, ".")" which gives you > "org.apache.struts2", no trailing dot. And without trailing dot it is not > working. > Could you check whether it is the same for you?
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 Regards Łukasz --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org