Jump to content
JasperReports Library 7.0 is now available ×

SAX woes


ktrinad

Recommended Posts

By: -- - pabloj

SAX woes

2003-12-05 02:50

Hi, trying to start iReport (0.2.2) I get this error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/xml/sax/SAXExcept

ion

 

I have your standard libs plus all jars from xalan-j-current

 

 

 

 

By: Giulio Toffoli - gt78

RE: SAX woes

2003-12-05 05:44

 

Hi Pablo.

 

First of all thanks for your effort to advertise ireport in many forums (I really appreciate it).

 

 

I don't know xalan-j-current. Please note that iReport set yourself the xml parser

 

System.setProperty("org.xml.sax.driver","org.apache.xerces.parsers.SAXParser");

 

Line 95 of MainFrame.java

 

Could be this the problem?

 

Giulio

 

 

 

 

 

 

 

 

By: -- - pabloj

RE: SAX woes

2003-12-15 03:54

Nice to here that you liked my "advertisement", you made a great tool!!

Now, a new, strange error, I have copied the /iReport-0.2.2/* files in a path like the one specified in ireport.bat (but I use ./noAnt/startup.bat to start it, as I don't have ANT), running startup.bat I get:

 

Exception in thread "main" java.lang.NoSuchMethodError

at it.businesslogic.ireport.gui.JNumberComboBox.<init>(JNumberComboBox.j

ava:66)

at it.businesslogic.ireport.gui.MainFrame.initComponents(MainFrame.java:

560)

at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:81)

at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:4054)

 

I'm using j2sdk1.4.2_01, could this be the source of my problems?

 

 

 

 

By: Giulio Toffoli - gt78

RE: SAX woes

2003-12-15 05:14

Could be. I use java 1.4.2

 

Anyway row 66 of JNumberComboBox.java is:

 

this.setFocusCycleRoot(false);

 

and as described in java documentation...

______________________________________

public final void setFocusCycleRoot(boolean focusCycleRoot)

 

Does nothing because Windows must always be roots of a focus traversal cycle. The passed-in value is ignored.

 

Overrides:

setFocusCycleRoot in class Container

Parameters:

focusCycleRoot - this value is ignored

Since:

1.4

______________________________

 

So this line is unuseful...

 

Giulio

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