Untuk mas bram & irwan & teman2 yang lainnya..............
Aq mo tanya neh, di eclipse aq da update/install plugins iReport n ku bikin 1
file report
nah saat aq run muncul error di console-nya eclipse, pesannya gini :
1. Could not create the report Error compiling report java source files :
D:\Jaero\AlsMainApp\Testing_1177572326765_764640.java
2. Could not create the report Report design not valid :
Warning : Element bottom reaches outside band area : y=32 height=1
band-height=32
=> 2 pesan tadi ambil dari file MyReport.java, spt ini sourcenya :
public class MyReport {
private String reportFile;
private Connection conn;
public MyReport(Connection myConn, String reportFile) {
this.conn = myConn;
this.reportFile = reportFile;
}
public void runReport () {
try { System.out.println(this.reportFile);
JasperDesign jasperDesign = JRXmlLoader.load(this.reportFile);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null,
this.conn);
JasperViewer.viewReport(jasperPrint);
}catch(Exception ex) {
String connectMsg = "Could not create the report " + ex.getMessage() + " " +
ex.getLocalizedMessage();
System.out.println(connectMsg);
}
}
}
** Nah yg mo ku tanyakan karena apa pesan error itu muncul :
- apakah ada perlu yg disetting myb di iReportnya or diEclipsenya or my
Comp????
itu aq runnya dilokal, tpi saat ku coba jalan dari server pun hasilnya sama
:( tpi di komp lain bisa jalan baik dijalankan di lokal maupun dari server????
Aq tunggu jawabannya secepatnnya y????
thanks b4
ITA, MI-B'99
irwan husein <[EMAIL PROTECTED]> wrote:
he he, sory nih mas bram,
untuk kasus jasper report yang tempo hari sudah aku close sih,
solusinya, out-source orang buat ngerjainnya, lha wong dah mepet deadline
hi hi hi....
(sebenernya malu juga, keliatan kalo kurang berusaha)
Hasilnya dah bagus, bisa ke excel, pdf, nampilin grafik dan text bareng, sesuai
permintaan user dah...
kalo mau langsung ke orangnya ym-nya : muhkusni, orangnya enak kok
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
[Non-text portions of this message have been removed]
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
[Non-text portions of this message have been removed]
================> HAPUS IKLAN DIATAS DAN FOOTER INI JIKA ME-REPLY
<================
Posting : [email protected]
Archive : http://www.mail-archive.com/[email protected]/
www.mitek.unibraw.ac.id || himamitek.brawijaya.ac.id
************************************************************************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/mitek/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/mitek/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/