javamail Javamail tomcat报错: 原因是英文,tomcat下面没有这个包。 但是在javaee中又有。 javaee5中,可能会报错,尽量选用javaee6 手动添加进去就可以了。