ueditor的controller.jsp报错"com.baidu.ueditor.ActionEnter" can't be resolved

本文详细解析了在集成Ueditor富文本编辑器时遇到的Java编译错误,具体表现为ActionEnter类无法被识别为类型的问题。文章提供了错误的源代码行号及文件路径,并指导如何将Ueditor的jar包正确添加到项目的构建路径中,以解决该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

An error occurred at line: [14] in the generated java file: [F:\Program Files\Apache Software Foundation\Tomcat 8.0\work\Catalina\localhost\Blog\org\apache\jsp\static_\ueditor1_005f4_005f3_005f3\jsp\controller_jsp.java]
Only a type can be imported. com.baidu.ueditor.ActionEnter resolves to a package

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

将uditor->jsp->lib下的jar add to build path

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值