Why don the line numbers reported in Java error messages match up to the line numbers in my XSP code?
Because an XSP page is converted to Java code, which upsets the line numbers, and at the moment we don’t have a mechanism to convert the line numbers back again (although this is a request for enhancement and we would welcome patches!) So, in the meantime, you’ll have to look at the generated source code