- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已将 DS 添加到我的报告中,但出现错误
why in error 没有发生错误的字段我不能在 .jrxml 中规定任何内容
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) net.sf.jasperreports.engine.JRException: Error retrieving field value from bean :
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:123)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getFieldValue(JRAbstractBeanDataSource.java:96)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.data.JRBeanCollectionDataSource.getFieldValue(JRBeanCollectionDataSource.java:100)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRFillDataset.setOldValues(JRFillDataset.java:1330)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1231)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1207)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1554)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:149)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:909)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:88)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:653)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.JasperFillManager.fill(JasperFillManager.java:569)
17:01:38,172 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:915)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.reports.ReportBuilder.dataOutFromBeans(ReportBuilder.java:163)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.reports.ReportBuilder.addByteDataToReport(ReportBuilder.java:65)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.page.AbstractBasePage.getbuildReport(AbstractBasePage.java:197)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.page.AbstractBasePage.printReport(AbstractBasePage.java:170)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.page.UserInfoStatisticPage.printActiveUsersReport(UserInfoStatisticPage.java:152)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at java.lang.reflect.Method.invoke(Method.java:597)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.el.parser.AstValue.invoke(AstValue.java:258)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
17:01:38,173 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.primefaces.application.DialogActionListener.processAction(DialogActionListener.java:45)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at javax.faces.component.UICommand.broadcast(UICommand.java:315)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:98)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at by.softclub.abank.admin.ui.faces.UrlFilter.doFilter(UrlFilter.java:118)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
17:01:38,175 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at java.lang.Thread.run(Thread.java:662)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) Caused by: java.lang.NoSuchMethodException: Unknown property '' on class 'class by.softclub.common.entity.UserBPSWrapper'
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1322)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:770)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:846)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:426)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) at net.sf.jasperreports.engine.data.JRAbstractBeanDataSource.getBeanProperty(JRAbstractBeanDataSource.java:111)
17:01:38,176 ERROR [stderr] (http-/0.0.0.0:7051-1) ... 54 more
所以我的 bean
public class UserBPSWrapper implements Serializable, IWrapper {
private String id;
private String numberSubdivision;
private String fioAdmin;
private Date dateReg;
private String fioClient;
private String numberPhone;
private String numberPassport;
private Date dateRegClient;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getNumberSubdivision() {
return numberSubdivision;
}
public void setNumberSubdivision(String numberSubdivision) {
this.numberSubdivision = numberSubdivision;
}
public String getFioAdmin() {
return fioAdmin;
}
public void setFioAdmin(String fioAdmin) {
this.fioAdmin = fioAdmin;
}
public Date getDateReg() {
return dateReg;
}
public void setDateReg(Date dateReg) {
this.dateReg = dateReg;
}
public String getFioClient() {
return fioClient;
}
public void setFioClient(String fioClient) {
this.fioClient = fioClient;
}
public String getNumberPhone() {
return numberPhone;
}
public void setNumberPhone(String numberPhone) {
this.numberPhone = numberPhone;
}
public String getNumberPassport() {
return numberPassport;
}
public void setNumberPassport(String numberPassport) {
this.numberPassport = numberPassport;
}
public Date getDateRegClient() {
return dateRegClient;
}
public void setDateRegClient(Date dateRegClient) {
this.dateRegClient = dateRegClient;
}
}
我打电话报告
JRDataSource dataSource = createReportDataSource(reportRows);
String jasperReportName = newPath + templateXML + ".jasper";
jasperPrint = JasperFillManager.fillReport(jasperReportName, reportParametersMap, dataSource);
private JRDataSource createReportDataSource(Collection reportRows) {
JRDataSource dataSource;
if (reportRows == null || reportRows.size() == 0) {
dataSource = new JREmptyDataSource();
} else {
dataSource = new JRBeanCollectionDataSource(reportRows);
}
return dataSource;
}
setListToReportDetails((List<UserBPSWrapper>) dataBPSModel.getWrappedData());
我的 JRXML
<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Subdevelopers" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="bfa8e4d4-05e1-4c4c-85de-9feb417ff0eb">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<parameter name="subdivisionName" class="java.lang.String"/>
<parameter name="dateFrom" class="java.lang.String"/>
<parameter name="dateTo" class="java.lang.String"/>
<parameter name="reportDate" class="java.lang.String"/>
<parameter name="clientsCountText" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="numberSubdivision" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="fioAdmin" class="java.lang.String"/>
<field name="dateReg" class="java.util.Date"/>
<field name="fioClient" class="java.lang.String"/>
<field name="numberPhone" class="java.lang.String"/>
<field name="numberPassport" class="java.lang.String"/>
<field name="dateRegClient" class="java.util.Date">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<title>
<band height="85" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="0" width="380" height="14" uuid="cded2592-f09e-4c61-89d6-f5e5d143035e"/>
<textElement markup="none">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{subdivisionName}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="14" width="90" height="14" uuid="c90da0c8-1336-4dc3-a021-f0e3ae942b2d">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[Период отчета с:]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="90" y="14" width="70" height="14" uuid="53044afe-bd20-42a6-97fb-e6b8b5e81b83"/>
<textElement markup="none">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{dateFrom}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="160" y="14" width="20" height="14" uuid="10a6a7db-dd2a-4bb6-8f06-25a03e8bd5d9">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[РїРѕ]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="180" y="14" width="70" height="14" uuid="878bcb56-dc60-4bb5-9909-73506e8be23e"/>
<textElement markup="none">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{dateTo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="28" width="380" height="14" uuid="6a7930c5-5605-493f-8dc4-cf3d60f9131a">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement>
<font fontName="SansSerif" size="10"/>
</textElement>
<text><![CDATA[Банк: ОАО "БПС-Сбребанк"]]></text>
</staticText>
<staticText>
<reportElement x="0" y="42" width="180" height="14" uuid="8e29e107-6761-48f6-9ce9-3a430f2ad173">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<text><![CDATA[Дата и время формирования отчета:]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="180" y="42" width="200" height="14" uuid="c0532bd1-edbc-4d78-b126-239cdfd3b818"/>
<textElement markup="none">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{reportDate}]]></textFieldExpression>
</textField>
</band>
</title>
<columnHeader>
<band height="31" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<rectangle>
<reportElement x="0" y="0" width="20" height="31" uuid="fab33adb-f537-46e1-ae19-aed14e0d553a"/>
</rectangle>
<staticText>
<reportElement x="0" y="0" width="20" height="30" uuid="8b0c0311-2893-404d-a5f6-759c71585b39">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[в„–]]></text>
</staticText>
<rectangle>
<reportElement x="20" y="0" width="100" height="31" uuid="4c6d0de7-16be-4584-a292-b323d1765921"/>
</rectangle>
<staticText>
<reportElement x="20" y="0" width="100" height="30" uuid="90ea0ab1-7105-4ae0-8a27-74db2a3d5a88">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Р¤РРћ администратора]]></text>
</staticText>
<rectangle>
<reportElement x="120" y="0" width="70" height="31" uuid="b7cdcd71-072e-4406-bebd-8b8f29b145f3"/>
</rectangle>
<staticText>
<reportElement x="120" y="0" width="70" height="30" uuid="17cc09fb-826a-4fc3-bf1f-8f56e54cfbd3">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Дата регистрации]]></text>
</staticText>
<rectangle>
<reportElement x="190" y="0" width="100" height="31" uuid="76f7b8c5-8418-4cb6-a7a1-17afbce4cfbf">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<staticText>
<reportElement x="190" y="0" width="100" height="30" uuid="9366a903-3ba0-492b-b2b9-1a5af4080975">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Р¤РРћ клиента]]></text>
</staticText>
<rectangle>
<reportElement x="290" y="0" width="100" height="31" uuid="09f7a047-ab01-4e01-a268-5dcbcd2fae49">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<staticText>
<reportElement x="290" y="0" width="100" height="30" uuid="f31660cc-44c3-4646-a5e5-71a7c0935520">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Номер мобильного]]></text>
</staticText>
<rectangle>
<reportElement x="390" y="0" width="100" height="31" uuid="ac78bb73-ac1c-49b2-ba4f-292f2453dec4">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<staticText>
<reportElement x="390" y="0" width="100" height="30" uuid="f76e2870-bd7a-4099-9a53-5916974b7fe2">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Л/Н паспорта]]></text>
</staticText>
<rectangle>
<reportElement x="490" y="0" width="70" height="31" uuid="c932d60f-efe1-421d-8fbe-a66f6d09eb10"/>
</rectangle>
<staticText>
<reportElement x="490" y="0" width="70" height="30" uuid="de94e44b-9faa-4835-81be-651662d3a0a3">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="8"/>
</textElement>
<text><![CDATA[Дата регистрации клиентом]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="31" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<rectangle>
<reportElement x="0" y="0" width="20" height="31" uuid="944528be-a403-4ed1-8ece-6c6d40cece23"/>
</rectangle>
<rectangle>
<reportElement x="20" y="0" width="100" height="31" uuid="d65b1141-6bf4-431e-996a-a56ee713e7aa"/>
</rectangle>
<rectangle>
<reportElement x="120" y="0" width="70" height="31" uuid="8440dbcb-221e-452a-9188-322c0fc00bdd"/>
</rectangle>
<rectangle>
<reportElement x="190" y="0" width="100" height="31" uuid="03976249-b504-4218-b151-06aa198fe1bd">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<rectangle>
<reportElement x="290" y="0" width="100" height="31" uuid="28dbda54-1653-4559-b5ea-fcee2fa497b2">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<rectangle>
<reportElement x="390" y="0" width="100" height="31" uuid="be18db82-9a46-4e54-b2d1-98f2bc66af77">
<property name="com.jaspersoft.studio.unit.width" value="pixel"/>
</reportElement>
</rectangle>
<rectangle>
<reportElement x="490" y="0" width="70" height="31" uuid="0c336ccd-ea62-4e10-b521-69b85599592d"/>
</rectangle>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="0" width="20" height="30" uuid="d0d3ca75-e0ed-4605-9b35-9e25a9d61b89"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{numberSubdivision}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="20" y="0" width="100" height="30" uuid="15faac99-3883-445e-b399-80aed7b8639e"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{fioAdmin}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="120" y="0" width="70" height="30" uuid="350cccbb-0c58-4136-8306-278195115415"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{dateReg}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="190" y="0" width="100" height="30" uuid="d35bafcc-3666-4fdb-a3e3-dfd5242bc7df"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{fioClient}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="290" y="0" width="100" height="30" uuid="29f916c0-00a5-4d08-8c69-5673dbb36e59"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{numberPhone}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="390" y="0" width="100" height="30" uuid="f24050a4-70c1-4fdb-ba88-03c0ea49445c"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{numberPassport}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="490" y="0" width="70" height="30" uuid="e47a9534-4964-4208-8e0d-d6e03c65754e"/>
<textElement verticalAlignment="Middle" markup="none">
<font fontName="SansSerif" size="8" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{dateRegClient}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="70" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement positionType="Float" x="0" y="0" width="560" height="24" uuid="4608c8a8-f63c-4b04-8c48-9bdb0a8f085a">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<textElement markup="none">
<font fontName="SansSerif" size="10" isBold="false"/>
<paragraph leftIndent="240"/>
</textElement>
<textFieldExpression><![CDATA[$P{clientsCountText}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="0" y="0" width="240" height="14" uuid="05f5423b-164a-4754-acca-5c064adef821">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<text><![CDATA[Количество зарегистрированных клиентов, всего:]]></text>
</staticText>
<staticText>
<reportElement x="0" y="30" width="80" height="14" uuid="d90bb3fc-d0ff-44a9-ba75-bdcccd3ddf87">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<text><![CDATA[Отчет проверил ]]></text>
</staticText>
<line>
<reportElement x="80" y="44" width="100" height="1" uuid="3d0fceff-a0dd-4b79-93aa-aa5e9158ef27"/>
<graphicElement>
<pen lineWidth="1.0" lineStyle="Solid"/>
</graphicElement>
</line>
<staticText>
<reportElement x="180" y="30" width="10" height="14" uuid="fe722733-55c0-4cae-b24d-5669fc15c2ba">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<text><![CDATA[(]]></text>
</staticText>
<staticText>
<reportElement x="290" y="30" width="10" height="14" uuid="3d078cf1-0d6b-4083-8652-204e1ad15f99">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<text><![CDATA[)]]></text>
</staticText>
<line>
<reportElement x="190" y="44" width="100" height="1" uuid="4a4d46de-8544-4f79-bc2b-0356e9468edf"/>
<graphicElement>
<pen lineWidth="1.0" lineStyle="Solid"/>
</graphicElement>
</line>
</band>
</pageFooter>
</jasperReport>
最佳答案
报告中的 dateRegClient
字段有一个空的 fieldDescription
。字段描述用于将字段映射到 bean 属性名称,由此产生错误。
删除字段描述或将其设置为 dateRegClient
应该可以消除错误。
关于java - 出现错误 : "Unknown property ' ' on class MyBean"? 的原因是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39168334/
这是我的代码 14 20 {"Confirm Email"} 21 在第 17 行我得到错误 Type '{ pathname: string; user: { em
这是我的代码 14 20 {"Confirm Email"} 21 在第 17 行我得到错误 Type '{ pathname: string; user: { em
这个问题已经有答案了: How do I compare strings in Java? (23 个回答) 已关闭 8 年前。 为什么 KeyEvent.getKeyText(0).substrin
我正在尝试 Rust 的新 wasm32-unknown-unknown 目标,我在调用数学函数(例如 sin、cos、exp、atan2)时遇到问题。 cargo .toml: [package]
当我为 spring-boot 创建启动项目时,我在 pom 文件中收到此错误。这只是为了创建一个基本的 Spring Boot 项目 Project build error: Invalid pac
我已经订阅了我想要传输的数据。但不知何故它不起作用。我收到此错误: The property pipe is not available for type "OperatorFunction" 这是我
运行以下查询时。select * from surgerys where to_char(dt_surgery ,'DD-MM-YYYY' ) = to_char('12-02-2012','DD-M
我在运行存储过程时遇到以下异常: com.microsoft.sqlserver.jdbc.SQLServerException:不支持从 UNKNOWN 到 UNKNOWN 的转换。 过程定义如下:
我尝试运行以下代码。顺便说一句,我对 python 和 sklearn 都是新手。 import pandas as pd import numpy as np from sklearn.linear
我已经阅读了关于未知类型的官方文档,但我很难真正理解它是如何工作的。 人们可以在文档中读到:“在没有首先断言或缩小到更具体的类型之前,不允许对未知进行任何操作。” 但如果我有这个功能: const f
我正在尝试在Mac OS中设置Hadoop 2.6.0 我正在关注这篇文章: http://hadoop.apache.org/docs/r2.4.0/hadoop-project-dist/hado
配置 Nexus docker 注册表和代理“dockerhub-proxy”后,如下所述: https://help.sonatype.com/repomanager3/formats/docker
我收到此错误 - “ValueError:未知标签类型:'unknown'” 我已经在网上搜索但无法摆脱这个错误,顺便说一句,我是 python 的新手:) 我的数据有 5 行 22 列,最后一列是标
使用 SHA256 摘要标识符 拉取图像失败 最佳答案 不幸的是,这是 DockerHub 删除 Docker 1.9 守护进程的向后兼容性的副作用。当使用 Docker 1.10 推送图像时,较旧的
我是 postgresql 的新手,正在尝试使用全文搜索 to_tsvector但是我遇到了错误。 SQL 和错误 SELECT to_tsvector('english', 'The quick b
每当我这样做时 npm run watch ,第一次编译工作正常 - 但经过几次编译后,我最终会得到这个错误: 95% emitting unnamed compat pluginError: UNK
在一个新的 Angular 应用程序中,我收到以下错误:Error from chokidar : Error: UNKNOWN: unknown error, watch我已经删除并重新安装 nod
使用 Typescipt 4.x.x 我写了一些代码来实现其他语言 Elm/Rust/Haskell 中常用的 Maybe/Option 类型。 我想写一个可以接受映射类型的通用函数 type MyM
const submitted = useSelector((state) => state.post.submitted) 对于上面的状态。我得到错误: (参数)状态:未知对象的类型为“未知”。 这
我正在尝试将多架构 docker 镜像推送到 docker hub 并遇到错误(在 https://github.com/docker/distribution/issues/3100 处打开了 do
我是一名优秀的程序员,十分优秀!