Monthly Archives: February 2008

Some common errors in Jasper report: SEVERE: Digester.getParser and JRException: Error compiling report java source files

I’ve followed a tutorial on how to use Jasper report in Netbeans IDE at However, I encountered the following problems. (Please note that when I refer to jasperreport library, I mean my customized library that contains a number of … Continue reading

Posted in Java | 9 Comments

Java regular expression: Replace and negate some punctuations

The situation is that we want to replace some punctuations in a text string and we want to exploit POSIX code, \p{Punct}. However, we do not want to cover all punctuations in the \p{Punct} class. For example, we want to … Continue reading

Posted in Java | 2 Comments