Export to GitHub

full-hibernate-plugin-for-struts2 - issue #35

Action class "com.opensymphony.xwork2.ActionSupport" from mapping "/typeList" does not extends "com.opensymphony.xwork2.ActionSupport". Hibernate Session and Transaction will not be injected!


Posted on Feb 16, 2012 by Swift Panda

What steps will reproduce the problem? 1. public class TypeListAction extends ActionSupport 2. @SessionTarget private org.hibernate.Session hSession; 3. run this action.

What is the expected output? What do you see instead? log shows: Action class "com.opensymphony.xwork2.ActionSupport" from mapping "/typeList" does not extends "com.opensymphony.xwork2.ActionSupport". Hibernate Session and Transaction will not be injected!

What version of the product are you using? On what operating system? 2.2.2GA

Please provide any additional information below.

do not know why it is class "com.opensymphony.xwork2.ActionSupport", should be TypeListAction.

Comment #1

Posted on Feb 16, 2012 by Swift Panda

sorry,my config problem. please delete this issue.

Status: New

Labels:
Type-Defect Priority-Medium