Fixed loading issue for tomcat.