4. 错误描述: Eclipse 不能自动编译,即使已经在Project menu选择了自动构建选项。
    错误信息:  不能编译,生成java class文件
    错误原因:  项目属性里面的java构建路径里面缺少构建需要的类包,或者错误引用不存在的类包
    错误解决: 项目属性里面的java构建路径里面添加必要的类包。
3. 错误描述:
    错误信息: java.lang.NoSuchMethodError:  org.apache.commons.pool.impl.GenericObjectPool: method <init>()V   not found
    错误原因: commons-pool-1.2.jar,commons-dbcp-1.2.1.jar,commons-collections.jar版本问题
    错误解决: commons-pool-1.2.jar,commons-dbcp-1.2.1.jar,commons-collections.jar放置,就解决。
2.
 错误描述:当用Eclipse的Lomboz J2EE Project 创建web应用, web server选的是weblogic8.1, 自动生成的weblogic.xml 的参考DTD <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.1//EN" "
http://www.bea.com/servers/wls610/dtd/weblogic-web-jar.dtd">
           当在weblogic.xml添加 
    <container-descriptor>
             <prefer-web-inf-classes>true</prefer-web-inf-classes>  //要weblogic 先加载 WEB-INF下面的jar包, 避免类包冲突.
            </container-descriptor>
     产生警告:    
错误信息: Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: Element type "prefer-web-inf-classes" must be declared. 
             Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "container-descriptor" must match "(check-auth-on-forward?,redirect-content-type?,redirect-content?,redirect-with-absolute-url?)". (line 5, column 26).>     
错误原因: weblogic.xml的DTD版本是6.1,版本太老    
错误解决:   <?xml version="1.0" encoding="UTF-8"?> 
               <!DOCTYPE weblogic-web-app   PUBLIC "-//BEA Systems, Inc.//DTD Web Application 7.0//EN"   "
http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd" >     
1. 
错误描述:把axis-bin-1_2_1.zip解压后的webapps目录下面的axis目录copy到{TOMCAT_HOME}\webapps\axis.  Tomcat启动之后,点击 
http://127.0.0.1:8080/axis/happyaxis.jsp, 有下面错误    
错误信息: Error: could not find class javax.activation.DataHandler from file  activation.jar   Axis will not work. 。
                          控制台显示下面错误:
                          -Unable to find required classes (javax.activation.DataHandler and   
                          javax.mail.internet.MimeMultipart). Attachment support is disabled.
    错误原因: 缺少 activation.jar ,mail.jar, 
    错误解决: 把这几个类包放到{TOMCAT_HOME}\webapps\axis\WEB-INF\lib下面。