fixed dependencies in tomcat and mysql modules.