- com.opensymphony.xwork2.util.finder.ClassFinder (xwork trunk)
- com.opensymphony.xwork2.util.UrlUtil (xwork trunk)
- com.opensymphony.xwork2.util.ClassLoaderUtil (xwork trunk)
(Based on http://jira.opensymphony.com/browse/XW-672) - org.apache.struts2.convention.PackageBasedActionConfigBuilder (Struts2-struts2-convention-plugin trunk)
XWork trunk(http://svn.opensymphony.com/svn/xwork/trunk)
Struts2 convention plugin(http://svn.apache.org/repos/asf/struts/struts2/trunk)
Compile xwork first, install it into your local maven repository before compiling Struts2 convention plugin. The changes checked in will work in Struts 2.1.6 and xwork 2.1.2. While the changes will be present in subsequent versions of Struts2, there are other changes I am looking into for subsequent versions.
Please note here that you will still need to zip the action classes into a jar (that contains a META-INF/Manifest or META-INF/somefile) for the convention plugin to pick up your action classes.
Let me know if you have issues.
- Amit
2 comments:
Hi Amit, i've tried to check out the versions you commented but I think they didnt apply the patches, by any chance do you know in what revision (or date) did Musachy add this changes? Thanks.
I'm so sorry, my bad. I was getting this error:
Unable to find interceptor class referenced by ref-name servlet-config - interceptor-ref - zip:/..../WEB-INF/lib/_wl_cls_gen.jar!/struts-submodule.xml:12:45
And i thought, based on your code suggestions, that this error was related with "zip:" url, but instead it was the name "servlet-config" which changed to "servletConfig" from struts 2.0.x to 2.2.x.
Post a Comment