Unable to locate configuration files of the name struts-plugin.xml, skipping

Cknote 2011-03-15 01:49:39
2011-3-15 12:56:40 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.19.
2011-3-15 12:56:41 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2011-3-15 12:56:42 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2011-3-15 12:56:42 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2011-3-15 12:56:42 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 2964 ms
2011-3-15 12:56:43 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2011-3-15 12:56:43 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.32
2011-3-15 12:56:44 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts-default.xml]
2011-3-15 12:56:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Unable to locate configuration files of the name struts-plugin.xml, skipping
2011-3-15 12:56:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts-plugin.xml]
2011-3-15 12:56:45 com.opensymphony.xwork2.util.logging.jdk.JdkLogger info
信息: Parsing configuration file [struts.xml]
2011-3-15 12:56:46 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2011-3-15 12:56:46 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2011-3-15 12:56:46 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory LoginInterceptor
2011-3-15 12:56:46 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2011-3-15 12:56:46 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2011-3-15 12:56:46 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2011-3-15 12:56:47 org.apache.catalina.startup.Catalina start
信息: Server startup in 4078 ms

Struts2.2.1.1+tomcat6.0.32
引入的包:
commons-fileupload-1.2.1.jar,
commons-io-1.3.2.jar,
commons-logging-1.0.4.jar
javassist-3.7.ga.jar,
freemarker-2.3.16.jar,
ognl-3.0.jar,
struts2-core-2.2.1.jar,
xwork-core-2.2.1.jar
我看struts-core-2.2.1.1.jar 下面并没有 struts-plugin.xml文件,只有struts-default.xml文件
启动tomcat输出的都是红色 只是个信息,不是警告或者错误,对程序有影响吗?
这是为什么? 怎么解决?

后来搜到一个外国人遇到了跟我一样的错误
http://stackoverflow.com/questions/4508189/unable-to-locate-configuration-files-of-the-name-struts-plugin-xml-skipping

...全文
2085 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
jinmingz 2013-03-13
  • 打赏
  • 举报
回复
木有影响的...........
cosmo87 2012-02-03
  • 打赏
  • 举报
回复
还有就是struts2-core下面却是没有struts-plugin.xml的。如果你加入一个plugin的包比如struts-json-plugin.jar这个包下就有struts-plugin.xml的文件了。
cosmo87 2012-02-03
  • 打赏
  • 举报
回复
这个红色是myeclipse在输出到console设置的吧。window->reference->run/debug->console
wct357110558 2011-07-27
  • 打赏
  • 举报
回复
有没有高手回答 怎么不让这片红色不显示啊
Cknote 2011-03-16
  • 打赏
  • 举报
回复
再顶下。
每次开tomcat都是一片红色
挺揪心的
Cknote 2011-03-15
  • 打赏
  • 举报
回复
那怎么解决这个问题呢?
Mark_MaoHUA 2011-03-15
  • 打赏
  • 举报
回复
只要不是警告或错误:
Mark_MaoHUA 2011-03-15
  • 打赏
  • 举报
回复
没影响

81,091

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧