Report can't view using jasper

2019-08-14 04:31发布


I got this while Report viewing using jasper:


where exactly my problem?

How could i solve this one, whereas i'm not getting error in my coding]1


Your question is not very much descriptive but in general, You need to get a reference to your report by using : getClass().getResource("/testjasper/report1.jrxml")

which will return a URL.

From memory, you should be able to Jasper a InputStream, this can be achieved by using URL#openConnection

标签: java