dependency to tomcat and reformat