gpt4 book ai didi

java - 条纹错误

转载 作者:行者123 更新时间:2023-11-29 08:15:11 25 4
gpt4 key购买 nike

我得到了这个页面:

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.

Apache Tomcat/7.0.11

这是出现在控制台上的内容:

SEVERE: Exception starting filter StripesFilter

我很认真地跟着这个,我能忘记什么吗? http://www.stripesframework.org/display/stripes/Quick+Start+Guide

我正在使用 Tomcat 7.0,Java 1.6.0_24,在 Eclipse 下使用 Dynamic Web Project,这是我的 Eclipse 版本:

Eclipse Java EE IDE for Web Developers.

Version: Helios Service Release 1
Build id: 20100917-0705

如果它有方位,我使用的是 Mac OS X

详细错误信息:

SEVERE: Exception starting filter StripesFilter
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at net.sourceforge.stripes.util.Log.getInstance(Log.java:43)
at net.sourceforge.stripes.controller.StripesFilter.<clinit>(StripesFilter.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:252)
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:372)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:98)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4542)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5220)
at org.apache.catalina.core.StandardContext$2.call(StandardContext.java:5215)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

最佳答案

将 commons-logging.jar 复制到您的/WEB-INF/lib 目录

关于您的链接:

For deploying and running Stripes you will also need to copy the following library files supplied with Stripes into your classpath:

* commons-logging.jar (1.1)

关于java - 条纹错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5362348/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com