If you get the following error in Struts2:java.lang.IllegalAccessException: Class com.opensymphony.xwork2.DefaultActionInvocation can not access a member of class com.xxxxxxxxAction with modifiers "public"
it's likely because your class com.xxxxxxxxAction is not public. You just need to add a public keyword in front of the class definition
public class com.xxxxxxxxAction {
}
can not access a member of with modifiers "public"
最新推荐文章于 2024-03-04 16:09:05 发布