使用iReporter设计报表,在jsp中调用时,报错,错误信息为:
JRBeanCollectionDataSource cannot be resolved to a type

  

 

有可能是因为你没有导入包。

 以下两个包是必须的:

 

<%@ page import="net.sf.jasperreports.engine.*" %>
<%@ page import="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource" %>

   

相关文章:

  • 2021-07-27
  • 2021-06-11
  • 2021-11-11
  • 2021-11-26
猜你喜欢
  • 2021-11-27
  • 2021-09-23
  • 2021-05-26
  • 2021-06-23
  • 2021-11-17
相关资源
相似解决方案