问题描述
ava.lang.RuntimeException:Invalidactionclassconfigurationthatreferencesanunknownclassnamed[friendsAction]org.apache.struts2.convention.ConventionsServiceImpl.determineResultPath(ConventionsServiceImpl.java:100)org.apache.struts2.convention.ConventionUnknownHandler.determinePath(ConventionUnknownHandler.java:385)org.apache.struts2.convention.ConventionUnknownHandler.handleUnknownResult(ConventionUnknownHandler.java:274)com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownResult(DefaultUnknownHandlerManager.java:76)com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:215)com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:356)com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)做添加好友功能时,老用户可以添加刚刚在jsp页面新注册的用户,但是写好的测试数据之间不能相互添加为好友
解决方案
解决方案二:
解决方案三:
action配置有问题
解决方案四:
friendsAction的类没有配置好
解决方案五:
action的配置用问题