kjava Posted March 14, 2007 Share Posted March 14, 2007 I just downloaded iReport 1.3.1 (I had 1.2.8) and put it a c:iReport-1.3.1 and tried to run iReport.bat and the following message came up in the DOS console: Code:Exception in thread "main" java.lang.NoSuchMethodError: net.sf.jasperreports.engine.util.JRLoader.getLocationInputStream(Ljava/lang/String;«»)Ljava/io/InputStream;at net.sf.jasperreports.engine.util.JRProperties.loadProperties(JRProperties.java:297)at net.sf.jasperreports.engine.util.JRProperties.initProperties(JRProperties.java:170)at net.sf.jasperreports.engine.util.JRProperties.<clinit>(JRProperties.java:156)at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:922)at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7862) What would be the problem?I have lots of xml reports and I need to compile one of them urgent but I am facing this problem. Can someone help me? Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted March 14, 2007 Share Posted March 14, 2007 I think you have an old Jasperreports.jar in your classpath. Be sure you just have jasperreports-1.3.1.jar :- Check jasperreports jars in <ireport>/lib/- Check your classpath defined inside iReport Giulio Link to comment Share on other sites More sharing options...
kjava Posted March 14, 2007 Author Share Posted March 14, 2007 You tought absolutely right, I had it in Java CLASSPATH, thank you very much for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now