An exception occurred processing JSP page

  今天在整个Mybatis(SSM)练习时,运行程序一直报一下错误,说是 An exception occurred processing JSP page处理JSP页面时发生异常:

Type Exception Report
Message An exception occurred processing JSP page [/static/productList.jsp] at line [32]
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.apache.jasper.JasperException: An exception occurred processing JSP page [/static/productList.jsp] at line [32]

An exception occurred processing JSP page_第1张图片
  在jsp页面找了半天,后来发现下面提示:javax.el.PropertyNotFoundException: Property [createTime] not found on type [com.hd.pojo.Product]
An exception occurred processing JSP page_第2张图片
  结果最后发现创建实体类时,这里是小写的,
An exception occurred processing JSP page_第3张图片
  页面JSP这里是大写的,导致一直报错,大小写统一后就运行正常,书写代码一定要规范注意!
An exception occurred processing JSP page_第4张图片

你可能感兴趣的:(测试错误总结)