Sunday 15 January 2012

Struts2's convention plugin doesn't scan jars in WEB-INF/lib -


I have packed some actions in jar files and have put these files in web-enf / lib. In addition, I have configured the struts. Convention.action.includeJars is stable but I found the Convention plugin, does not scan Jar in Web-INF / BB. View the Org.apache.struts2.convention.PackageBasedActionConfigBuilder

My Env: - tomcat 6.0.5 - struts2.3.14.3 GA - Spring 3.0.5

How can the conference plugin scan my jar? Is there any way to reuse the verbs in the jar file?

There is a bug in the Struggle 2 Convention plugin. 3.14.3 GA

Please see :.

Get the latest version of PackageBasedActionConfigBuilder, then add them to struts.xml:

  & lt; Bean Type = "org .apache.struts2.convention.ActionConfigBuilder" name = "ActionConfigBuilder_bugfix" class = "bugfix.struts2.PackageBasedActionConfigBuilder" /> & Lt; Constant Name = "Struts. Convention." Appropriator "Value =" Action ConfiBilder - BibFix "/ & gt;    

No comments:

Post a Comment