博客基于struts2开发,又遇到个莫名奇妙的问题,错误如下 :

严重: Error filterStart
2007-9-22 22:18:55 org.apache.catalina.core.StandardContext start
严重: Context startup failed due to previous errors

还不打印任何日志,最后在tomcat的/logs下查看日志发现:

Action class [com.ntsky.blog.web.struts2.action.AlbumAction] not found - action - file:/G:/webServer/jakarta-tomcat-5.0.30_eclipse/webapps/ROOT/WEB-INF/classes/struts_photo.xml:21:78
在struts2的配置文件中配置了action,而对应的类不存在会出现此类错误。

记录一下,以示警戒。
Tags: tomcaterror filterStart Category: java
Posted on 2007-09-23 01:41:56 reader (2,731) | Comments (3)

3 Comments »

如何解决!
你的class不存在就会有这个问题。
仔细检查一下struts2的xml配置文件中中的class属性是否存在在你的项目中,一般不存在就会有这种错误。

发表评论

验证码,看不清楚?请点击刷新验证码