Hi Naveen,
You compile the java mapping code with JDK 1.7 and your PI version supports JDK 1.6 that is why you are getting above error.
Right click on your project and Build Path->Configure BuildPath->Java Compiler, change it to 1.6 and export the jar file and import into ESR.
![compile.png]()
Regards,
Praveen.