Saturday, May 28, 2011

PMD Maven problem

Can't use generics unless running in JDK 1.5 mode!
Can't use annotations when running in JDK 1.4 mode!

Just add
1.5

to properties tag in Maven pom file.



<properties>
<org.springframework.version>3.0.5.RELEASE</org.springframework.version>
<compileSource>1.5</compileSource>
<targetJdk>1.5</targetJdk>
</properties>

No comments:

Idea for patent

Return machine Id  and use this for routing future requests . This will give cache locality. The ui/ mobile app should use this I'd f...