Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Create from catalog:
mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/
Trying to run, browser displays:
Unable to instantiate Action, ${package}.IndexAction, defined for 'index' in namespace '/'${package}.IndexAction Root cause: java.lang.ClassNotFoundException: ${package}.IndexAction
in struts.xml:
<action name="index" class="${package}.IndexAction"> <result>/jsp/index.jsp</result> </action>
package is not substituted.
I didn't try creating directly:
mvn archetype:generate -B -DgroupId...
i recommend testing too.