Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes Jar conflict or something else? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Jar conflict or something else?" Watch "Jar conflict or something else?" New topic

Jar conflict or something else?

Jianping Wang
Ranch Hand

Joined: May 29, 2010
Posts: 60
I have commons jar in my web app
The following is the exception I got.

SCJP 6 with 93%
Oracle Database SQL Expert with 98%
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

I have commons jar in my web app

Does it contain org.apache.AnnotationProcessor class? Or do you have any jar(s) in your web app which contain org.apache.catalina.* classes? It does look like a jar conflict.

You can add -verbose:class to the JVM arguments and start the server. This will log the jar files being used for loading the classes. That will give you an idea of which jar(s) are being used to load that class.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Jar conflict or something else?
It's not a secret anymore!