上图下拉列表中红色部分表示无法使用的驱动,需要添加数据库驱动jar包(Tools > Options > iReport > Classpath and add the required JARs to the classpath);[参考官方文档http://community.jaspersoft.com/wiki/designing-report]
添加sqlserver jar:
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,Given 1->2->3->3->4->4->5,