How can I get line numbers to appear in Java error messages?
First, don’t confuse this question with the similar question below about line numbers in XML parsing. This is really a Java configuration question. You need to disable JIT compilation or Hotspot compilation, and this is a JDK command-line option. See your JDK documentation for how to do this. You might have to read your servlet engine documentation for how to pass arguments to the JDK.
Related Questions
- No satellite photos appear, error messages appear instead of satellite photos, or satellite photos appear only over some sections of the map. Whats wrong?
- Why don the line numbers reported in Java error messages match up to the line numbers in my XSP code?
- How can I get line numbers to appear in Java error messages?