Adding the suggested modifications by Sameera. Added the javax.annotation package to launch.ini and made sure that tomcat do not contain this api