Jump to content
We've recently updated our Privacy Statement, available here ×

iReport 5.5 Jasper Libraries Problem


ragampo

Recommended Posts

Hello, I need some guide please!

I downloaded the last version of iReport ...

Capturadepantalla2013-11-08ala(s)00_25_38(1).png.a05a58e6da214af1fc95c1d9ff55279e.png

Then I downloaded what i think the libraries are :

Capturadepantalla2013-11-08ala(s)00_27_20(1).png.7715376f58e64879d8004dc1bc4191b9.png

 

Then in my Java code I'm doing something like this ... 

public byte[] getInformeDiario(){  DsMgr myDb = new DsMgr();  ByteArrayInputStream is=null;  byte[] os = null;   Map parameters = new HashMap();   Connection con = myDb.getConnection();   if (con != null){   is = (ByteArrayInputStream) getClass().getResourceAsStream("/reports/report1.jasper");   //parameters.put("date",myTime);   System.out.println("Hola");   try {    os = JasperRunManager.runReportToPdf(is,parameters,con);   } catch (JRException e) {    // TODO Auto-generated catch block    e.printStackTrace();    System.out.println(e.getMessage());   }finally{    try {     con.close();    } catch (SQLException e) {     // TODO Auto-generated catch block     e.printStackTrace();    }   }  }  return os;}[/code]

But I get this : 

"net.sf.jasperreports.engine.JRRuntimeException : Unknown hyperlink target 0" Capturadepantalla2013-11-08ala(s)00_39_29.png.7f0b2b32b052370b1b06af346aa746c9.png

 

I think the problem are the libraries but I cant identify which one.... Anybody has any ideas? please?

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...