通常当我们得到“org.apache.commons.logging.LogFactory”时错误?

发布于 2024-09-15 03:13:29 字数 332 浏览 3 评论 0原文

在部署 dwr Web 应用程序时,我不断收到此错误。 我不知道为什么会这样。我无法运行任何 DWR 示例项目。

除此之外,我们得到了这个 ClassNotFound 错误。这里是什么概念?

这是一长串错误的开始,我正在得到。

SEVERE: Allocate exception for servlet dwr-invoker
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

任何人都可以告诉我如何解决这个问题..或者告诉我什么情况可能会导致这个错误。

While deploying a dwr web app, i'm continuously getting this error.
I dont know why this coming. I cant run any of my DWR sample projects.

Apart from that, for what we get this ClassNotFound Error. What the concept here?

This is starting of long list of error, iam getting.

SEVERE: Allocate exception for servlet dwr-invoker
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

Anyone tell me how to fix this problem.. or tell me what are possible situations that may cause this error.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

玉环 2024-09-22 03:13:29

您的 servlet 容器中似乎没有可用的 Commons Logging。 DWR 依赖于此。您可能应该将其部署为 Web 应用程序中的库。它只是一个日志库,委托给其他可用的日志库/框架(Log4j、Java 日志记录等)

Looks like you don't have Commons Logging available in your servlet container. DWR relies on this. You should probably deploy this as a library within your web app. It's simply a logging library that delegates to other available logging libraries/frameworks (Log4j, Java logging etc.)

尹雨沫 2024-09-22 03:13:29

您需要下载 Apache Commons Logging 并将其添加到您的类路径中。

You need to download Apache Commons Logging and add it to your classpath.

眉黛浅 2024-09-22 03:13:29

您需要将 commons-logging.jar 添加到类路径中。

You need to add the commons-logging.jar to the classpath.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文