Error JasperReport di Netbeans

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error JasperReport di Netbeans

Danny-46
Dear Temans,

Lg coba jasper report di Netbeans 5.5 (JDK1.6), pas di run keluar error
seperti di bawah, kira2 kenapa ya...?,
posisi file suggest.jrxml sudah berada di posisi yg benar
(../report/template/suggest.jrxml), mohon pencerahaanya. Thx a lot ya....

Rgds
Slamet

-------------------
run-single:
compiling...
net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException:
..\report\template\suggest.jrxml (The system cannot find the path specified)
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
:172)
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
:152)
        at net.sf.jasperreports.engine.JasperCompileManager.compileReport(
JasperCompileManager.java:151)
        at Main.main(Main.java:37)
Caused by: java.io.FileNotFoundException: ..\report\template\suggest.jrxml
(The system cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
:167)
        ... 3 more


[Non-text portions of this message have been removed]

Reply | Threaded
Open this post in threaded view
|

Re: Error JasperReport di Netbeans

Martinus Ady H (Milis)
Slamet wrote:

>
>
> Dear Temans,
>
> Lg coba jasper report di Netbeans 5.5 (JDK1.6), pas di run keluar error
> seperti di bawah, kira2 kenapa ya...?,
> posisi file suggest.jrxml sudah berada di posisi yg benar
> (../report/template/suggest.jrxml), mohon pencerahaanya. Thx a lot ya....
>
> Rgds
> Slamet
>
> -------------------
> run-single:
> compiling...
> net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException:
> ..\report\template\suggest.jrxml (The system cannot find the path specified)
> at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
> :172)
> at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
> :152)
> at net.sf.jasperreports.engine.JasperCompileManager.compileReport(
> JasperCompileManager.java:151)
> at Main.main(Main.java:37)
> Caused by: java.io.FileNotFoundException: ..\report\template\suggest.jrxml
> (The system cannot find the path specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java
> :167)
> ... 3 more
>
> [Non-text portions of this message have been removed]
>
>

Btw path yg bener yang mana nih ? yang "/" atau "\" ? Soalnya kalau
dilihat di exception-nya jaspernya ga nemu tuh file suggest.jrmxml-nya

--
Martinus Ady H
http://martinusadyh.web.id/