日期:2014-05-18  浏览次数:20726 次

[救命!!]启动tomcat时候,Myeclipse控制台上显示 信息: XML validation disabled
用   Myeclipse   启动   Tomcat5.5时候   控制台打印出的东西:

2007-4-11   2:24:24   org.apache.catalina.core.AprLifecycleListener   lifecycleEvent
信息:   The   Apache   Tomcat   Native   library   which   allows   optimal   performance   in   production   environments   was   not   found   on   the   java.library.path:   C:\Program   Files\Java\jdk1.5.0_04\bin;D:\Program   Files\Apache   Software   Foundation\Tomcat   5.5\bin
2007-4-11   2:24:24   org.apache.coyote.http11.Http11BaseProtocol   init
信息:   Initializing   Coyote   HTTP/1.1   on   http-8080
2007-4-11   2:24:24   org.apache.catalina.startup.Catalina   load
信息:   Initialization   processed   in   969   ms
2007-4-11   2:24:24   org.apache.catalina.core.StandardService   start
信息:   Starting   service   Catalina
2007-4-11   2:24:24   org.apache.catalina.core.StandardEngine   start
信息:   Starting   Servlet   Engine:   Apache   Tomcat/5.5.15
2007-4-11   2:24:24   org.apache.catalina.core.StandardHost   start
信息:   XML   validation   disabled
0         INFO     [main]   org.apache.struts.util.PropertyMessageResources           -   Initializing,   config= 'org.apache.struts.util.LocalStrings ',   returnNull=true
16       INFO     [main]   org.apache.struts.util.PropertyMessageResources           -   Initializing,   config= 'org.apache.struts.action.ActionResources ',   returnNull=true
1063   INFO     [main]   org.apache.struts.util.PropertyMessageResources           -   Initializing,   config= 'com.lmj.struts.ApplicationResources ',   returnNull=true
2007-4-11   2:24:28   org.apache.coyote.http11.Http11BaseProtocol   start
信息:   Starting   Coyote   HTTP/1.1   on   http-8080
2007-4-11   2:24:29   org.apache.jk.common.ChannelSocket   init
信息:   JK:   ajp13   listening   on   /0.0.0.0:8009
2007-4-11   2:24:29   org.apache.jk.server.JkMain   start
信息:   Jk   running   ID=0   time=0/94     config=null
2007-4-11   2:24:29   org.apache.catalina.storeconfig.StoreLoader   load
信息:   Find   registry   server-registry.xml   at   classpath   resource
2007-4-11   2:24:29   org.apache.catalina.startup.Catalina   start
信息:   Server   startup   in   4609   ms

其中这句我有一个迷惑:信息:   XML   validation   disabled
我新装的tomcat   Myeclipse   是不是哪个地方配置不对?应该怎么配置啊??

然后,我写一个简单的网页   ok.jsp   可以在浏览器中正常显示
但是,我添加一个简单的   struts1.2   之后,问题就来了,   页面是404错误,
并且,控制台上这样说:
2007-4-11   2:24:53   org.apache.catalina.core.ApplicationContext   log
信息:   HTMLManager:   init:   Associated   with   Deployer   'Catalina:type=Deployer,host=localhost '
2007-4-11   2:24:53   org.apache.catalina.core.ApplicationContext   log
信息:   HTMLManager:   init:   Global   resources   are   available
2007-4-11   2:24:53   org.apache.catalina.core.ApplicationContext   log
信息: