I guess we need to update jasper reports library that is used in project Add following dependancy in pom.xml if you are using maven, otherwise get latest jar (4.7.0) <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>4.7.0</version> </dependency> The designer obviously comes with latest library hence report gets compiled without error in desinger, but when we use this report in our project which is using old library (jar with version 4.5 or older) it throws error I hope this helps.