Eclipse启动tomcat的小问题

来源:百度知道 编辑:UC知道 时间:2024/05/24 00:44:05
信息: Deploying web application archive struts2-showcase-2.1.6.war
2009-7-11 22:02:23 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
2009-07-11 22:02:23,953 WARN (org.apache.myfaces.shared_impl.util.LocaleUtils:52) - Locale name in faces-config.xml null or empty, setting locale to default locale : zh_CN
2009-7-11 22:02:24 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2009-07-11 22:02:24,281 INFO (org.springframework.web.context.ContextLoader:189) - Root WebApplicationContext: initialization started
对发布没什么影响就是不好看。英文意思好像是因为是自带的struts2-showcase-2.1.6.war里面配置了什么导致The duplicate definition has been ignored.请高手怎么解决?
晕,我看了下错误,看到错误里有个struts-2.1.6,我想到了我放在tomcat下的几个Struts自带的几个项目,把那几个项目从tomcat下删除了,还要删除apache-tomcat-6.0.16

2009-7-11 22:02:23 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
监听器已经在上下文中配置了了,重复的定义被忽略了
2009-07-11 22:02:23,953 WARN (org.apache.myfaces.shared_impl.util.LocaleUtils:52) - Locale name in faces-config.xml null or empty, setting locale to default locale : zh_CN
faces-config.xml文件中的Locale name是空的,默认语言为中文

将Tomcat的work\Catalina目录下的文件全部删除,再次启动服务。