java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
//缺少commons-loggin.jar包
**************************************分割线************************************************
关闭Liunx防火墙
1) Linux操作系统中永久性生效,重启后不会复原
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后复原
开启: service iptables start
关闭: service iptables stop
**************************************分割线************************************************
数据库连接被拒
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;
**************************************分割线************************************************
myeclipse 部署时候缺少jar包
加入jar包到 /WEB-INF/lib下
File -> import ->general ->file system
******************************分割线************************************************
An error occurred at line: 32 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
lib将关于js 和servlet的包去掉会和tomcat中自带的包冲突