fixed compatibility between eclipse,tomcat,maven