jfinal报错The method renderText(String) is undefined for the type HelloController
来源:互联网 发布:日本美国动画 知乎 编辑:程序博客网 时间:2024/06/03 03:12
跟着jfinal文档的第一个demo学习的时候,发现运行不了,报错The method renderText(String) is undefined for the type HelloController
然后就看代码,找是不是漏了jar包,再次跟源码比较的时候才发现原来controller类HelloController忘了继承Controller类了。
继承Controller类以后就好了
真是马虎啊
写代码还是得要认真仔细一点啊~
阅读全文
0 0
- jfinal报错The method renderText(String) is undefined for the type HelloController
- 运行maven项目报错:The method queryForInt(String) is undefined for the type JdbcTemplate
- The method isEmpty() is undefined for the type String/String
- The method setCharacterEncoding(String) is undefined for the type HttpServletResponse
- The method setCharacterEncoding(String) is undefined for the type HttpServletResponse
- The method fromObject(String) is undefined for the type JSONObject
- The method isEmpty() is undefined for the type String
- The method setCharacterEncoding(String) is undefined for the type HttpServle
- he method isEmpty() is undefined for the type String/String
- notification 报错the method build() is undefined for the type Notificatin.Builder
- The method findViewById(int) is undefined for the type FragmentHome报错
- android 6.0 The method sin(float) is undefined for the type FloatMath 报错
- The method getTextContent() is undefined for the type Node方法报错
- 项目报错:The method getTextContent() is undefined for the type Node
- 报错 :The method list(String, Object[]) is ambiguous for the type BaseHibernateDao<M,PK>
- the method d(string string) is undefined for the type log
- 项目代码报:The method xx方法( ) is undefined for the type XX类
- 开发中碰到的问题:The method getSystemService(String) is undefined for the type CourseFragment
- @Temporal
- 数据库第十一周学习攻略(第十组)
- MySql-Join语法
- LeetCode(10)--RegularExpresssionMatching
- JAVA 封装、构造函数、this关键字 day7
- jfinal报错The method renderText(String) is undefined for the type HelloController
- Python初识
- 回归分析及参数介绍
- @Transient
- 数据库第十七周学习攻略
- springMVC登录验证码
- 数论——组合数(基础)
- Spring MVC
- tableView 的cell不铺满整个屏幕时,下面多余分割线消失处理