Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package问题解决

问题:

An error occurred at line: 6 in the generated java file
Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package

An error occurred at line: 11 in the jsp file: /jsp/controller.jsp
ActionEnter cannot be resolved to a type
8: 
9:  String rootPath = application.getRealPath( "/" );
10: 
11:  out.write( new ActionEnter( request, rootPath ).exec() );
12: 
13: %>

解决方法:

1、把 ueditor\jsp目录中的jar包复制到\WEB-INF\lib中

2、把\WEB-INF\lib中的jar包导入到项目中

3、clean整个项目

4、重新启动项目


 

猜你喜欢

转载自blog.csdn.net/u011109589/article/details/85839116