解决步骤如下:

先说一句: 修改后先保存, 然后看看错误消失没?

只需要导入正确的包

java web项目中hibernate导入问题解决, AbstractInterceptor

properties->java build path->Libraries->Add Libaray->Myeclipse library->你需要导入的包->apply

java web项目中hibernate导入问题解决, AbstractInterceptor


import com.opensymphony.xwork2.Action;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class ManagerInterceptor extends AbstractInterceptor {

这里导入时也会出问题都是没有导入相关的包,只需要同样的操作导入Struts2.1.2就好啦

相关文章:

  • 2021-11-18
  • 2021-12-15
  • 2021-11-19
  • 2021-12-24
  • 2021-12-05
猜你喜欢
  • 2021-12-23
  • 2021-12-15
  • 2021-06-02
  • 2021-11-18
  • 2021-10-12
  • 2022-01-05
  • 2021-11-23
相关资源
相似解决方案