2015-12-2 9:09:28 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\MyEclipse 8.5\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 6.0\bin 2015-12-2 9:09:28 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2015-12-2 9:09:28 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 443 ms 2015-12-2 9:09:28 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2015-12-2 9:09:28 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.18 log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider). log4j:WARN Please initialize the log4j system properly. 2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-default.xml] 2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-plugin.xml] 2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts.xml] log4j:WARN No appenders could be found for logger (freemarker.cache). log4j:WARN Please initialize the log4j system properly. 2015-12-2 9:09:37 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2015-12-2 9:09:37 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2015-12-2 9:09:37 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/47? config=null 2015-12-2 9:09:37 org.apache.catalina.startup.Catalina start 信息: Server startup in 8641 ms
2015-11-26 16:41:53 org.apache.catalina.core.AprLifecycleListener init 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\MyEclipse 8.5\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 6.0\bin 2015-11-26 16:41:53 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on http-8080 2015-11-26 16:41:53 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 663 ms 2015-11-26 16:41:53 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2015-11-26 16:41:53 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/6.0.18 log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider). log4j:WARN Please initialize the log4j system properly. 2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-default.xml] 2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts-plugin.xml] 2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info 信息: Parsing configuration file [struts.xml] log4j:WARN No appenders could be found for logger (freemarker.cache). log4j:WARN Please initialize the log4j system properly. 2015-11-26 16:42:05 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on http-8080 2015-11-26 16:42:05 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2015-11-26 16:42:05 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/60? config=null 2015-11-26 16:42:05 org.apache.catalina.startup.Catalina start 信息: Server startup in 12044 ms Hibernate: ??? select ??????? users0_.uid as uid1_1_, ??????? users0_.username as username2_1_, ??????? users0_.password as password3_1_ ??? from ??????? hello_users users0_ ??? where ??????? users0_.username=? ??????? and users0_.password=?
2015-11-26
這里面不好說,反正就是在 訪問數(shù)據(jù)庫的那一層中輸出 你從前臺帶進(jìn)來的查詢條件(為什么輸出的原因是因?yàn)槲覔?dān)心參數(shù)可能就丟失了,帶入數(shù)據(jù)庫里面當(dāng)然就是查不出結(jié)果的)要是有輸出,就看sql(需要校驗(yàn)sql能否成功執(zhí)行)語句執(zhí)行,返回的結(jié)果有沒有,如果要就是頁面展示以及servlet中可能沒處理好導(dǎo)致頁面取不到數(shù)據(jù)
2015-12-26
居然我也是同樣的問題
2015-12-02
2015-12-2 9:09:28 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\MyEclipse 8.5\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 6.0\bin
2015-12-2 9:09:28 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2015-12-2 9:09:28 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 443 ms
2015-12-2 9:09:28 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2015-12-2 9:09:28 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2015-12-2 9:09:33 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
log4j:WARN No appenders could be found for logger (freemarker.cache).
log4j:WARN Please initialize the log4j system properly.
2015-12-2 9:09:37 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2015-12-2 9:09:37 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2015-12-2 9:09:37 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/47? config=null
2015-12-2 9:09:37 org.apache.catalina.startup.Catalina start
信息: Server startup in 8641 ms
2015-12-01
查詢的時候控制臺輸出什么?你貼出來 我看下
2015-11-26
2015-11-26 16:41:53 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: E:\MyEclipse 8.5\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Tomcat 6.0\bin
2015-11-26 16:41:53 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2015-11-26 16:41:53 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 663 ms
2015-11-26 16:41:53 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2015-11-26 16:41:53 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
log4j:WARN No appenders could be found for logger (com.opensymphony.xwork2.config.providers.XmlConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2015-11-26 16:41:59 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
log4j:WARN No appenders could be found for logger (freemarker.cache).
log4j:WARN Please initialize the log4j system properly.
2015-11-26 16:42:05 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2015-11-26 16:42:05 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2015-11-26 16:42:05 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/60? config=null
2015-11-26 16:42:05 org.apache.catalina.startup.Catalina start
信息: Server startup in 12044 ms
Hibernate:
??? select
??????? users0_.uid as uid1_1_,
??????? users0_.username as username2_1_,
??????? users0_.password as password3_1_
??? from
??????? hello_users users0_
??? where
??????? users0_.username=?
??????? and users0_.password=?
2015-11-26
有可能是你的查詢界面的表單代碼name屬性值去javaBean中封裝的值不一致,或者說你的查詢方法的sql語句不正確,又或者數(shù)據(jù)庫名字寫錯了吧。
2015-11-26
也可以在持久層做一個輸出輸出 ?查詢條件以及結(jié)果看控制臺輸出