Question

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.

Was it helpful?

Solution

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.)

OTHER TIPS

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top