PMD error – Can’t use JDK 1.5 for loop syntax when running in JDK 1.4 mode!
When i integrate Hudson and PMD together to run the PMD static code analysis process in my web project. I hit the following error message. By the way , i’m using Maven 2 to mange my web project. Caused by: net.sourceforge.pmd.ast.ParseException: Can’t use JDK 1.5 for loop syntax when running in JDK 1.4 mode! at …