Jump to content
JasperReports Library 7.0 is now available ×

please help "cannot find lib"error 1st report


2005 IR Help

Recommended Posts

By: Pirate4Justice - pirate4justice

please help "cannot find lib"error 1st report

2004-06-22 05:29

just installed jasper and ireports, trying to run the test blank report. HP-UX platform. Getting the following error during compilation:

"cannot find lib in iReports home directory (.)"

 

Also, from the terminal window, the following errors are displayed: java.io.FileNotFoundException: file:/opt/iReport-0.3.1/lib/iReport.jar!/scriptlet_template.jav (No such file or directory)

at java.io.FileInputStream.open(Native Method)

at java.io.FileInputStream.<init>(FileInputStream.java:103)

at java.io.FileInputStream.<init>(FileInputStream.java:66)

at java.io.FileReader.<init>(FileReader.java:41)

at it.businesslogic.ireport.ScriptletCode.<init>(ScriptletCode.java:109)

at it.businesslogic.ireport.Report.<init>(Report.java:193)

at it.businesslogic.ireport.gui.MainFrame.jMenuItemNewDocumentActionPerformed(MainFrame.java:4759)

at it.businesslogic.ireport.gui.MainFrame.jButtonNewActionPerformed(MainFrame.java:4626)

at it.businesslogic.ireport.gui.MainFrame.access$1400(MainFrame.java:53)

at it.businesslogic.ireport.gui.MainFrame$15.actionPerformed(MainFrame.java:1068)

at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)

at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)

at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)

at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)

at java.awt.Component.processMouseEvent(Component.java:5193)

at java.awt.Component.processEvent(Component.java:4990)

at java.awt.Container.processEvent(Container.java:1566)

at java.awt.Component.dispatchEventImpl(Component.java:3698)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Component.dispatchEvent(Component.java:3539)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3449)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3164)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)

at java.awt.Container.dispatchEventImpl(Container.java:1609)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3539)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

untitled_report_1 595x400 []

 

 

 

 

 

By: Pirate4Justice - pirate4justice

RE: please help "cannot find lib"error 1st report

2004-06-22 07:01

this appears to be a problem with control M (^M) characters in the files. I think sometimes the shell interpreter gets screwed up on this. For example, I can't even start startup.sh w/out removing the ^M characters, after doing that, the GUI starts. Obviously there are other files that contain these end-of-line characters than this one file, thus the problem. I have installed the same iReports java version on windows and the test reports runs fine. I guess if you have this shell problem, you will need to use sed to get rid of all the ^M's or use the Devi's OS, Windows.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...