[code="java"]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
class="web.action.MainRelationAction">
jsp/stock/rationalrelation.jsp
class="web.action.FindRelationAction">
jsp/stock/rationalrelation.jsp
[/code]
我在这里配置了两个ACTION Tomcat启动的时候报这个错误,但当我把其中一个ACTION去掉或将其所对应的class该成同一个就不会报错为什么?谁个遇到过吗?例如将web.action.FindRelationAction改成web.action.MainRelationAction
[code="java"]
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
2009-9-1 16:52:21 org.apache.catalina.core.StandardContext start
严重: Error filterStart
2009-9-1 16:52:21 org.apache.catalina.core.StandardContext start
严重: Context [/Stock2009] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.[/code]
[b]问题补充:[/b]
commons-logging.jar 我已经导入了啊
关键是现在报
严重: Error filterStart
2009-9-1 16:52:21 org.apache.catalina.core.StandardContext start
严重: Context [/Stock2009] startup failed due to previous errors
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
而我去掉一个ACTION或将web.action.FindRelationAction改成web.action.MainRelationAction 也就是两个ACTION对应同一个类 就不会报错了.
难道struts2不能有多个action 这也太不可能了吧
[b]问题补充:[/b]
严重: Error filterStart
2009-9-2 10:00:23 org.apache.catalina.core.StandardContext start
严重: Context [/Stock2009] startup failed due to previous errors
2009-9-2 10:00:23 org.apache.coyote.http11.Http11BaseProtocol start
这个错误依然有