struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "terence (JIRA)" <>
Subject [jira] Created: (WW-3374) is plugin-convention bug ? can not find Action.class, Result.class which annotation in class
Date Tue, 12 Jan 2010 03:06:44 GMT
is plugin-convention bug ? can not find Action.class, Result.class  which annotation in class

                 Key: WW-3374
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Convention
    Affects Versions: 2.1.8
         Environment: windows xp professional sp3 ,  eclipse3.3 , tomcat6.0, 
            Reporter: terence

flowing is the contents of struts.xml  configuration files
	<constant name="struts.convention.package.locators" value="test" />
	<constant name="struts.convention.classes.reload" value="true" />
	<constant name="struts.devMode" value="true" />
	<constant name="struts.objectFactory.spring.autoWire.alwaysRespect" value="true" />
	<constant name="struts.action.extension" value="action" />

my class annotation 

	public String execute() throws Exception {
		return SUCCESS;

when i start up tomcat the exception is

struts2 is still working and annotation @Action , @Result ,  @InterceptorRef is also work.

coincidentally that :InterceptorRef.class ,  Result.class ,  Action.class  is my class annotation.

when i delete the 
<constant name="struts.convention.package.locators" value="test" />
tomcat normal startup , but the annotation doesn't work . 

i am not sure it is a bug ? 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message