John,
thanks alot for your reply. From what you've said and what I've seen on Google, it does sound like an antlr version problem. Frustrating, because I can't seem to track it down. I won't be able to change Hibernate versions because another end of the application is using Hibernate (but not Weblogic) and so we need to be consistent in our versions. In fact it is that team's mapping files which I am reusing and having the problems with. Anyway, your suggestions are definitely helpful!
Liz
jlindwall wrote:
I'm new with hibernate but I saw the same problem that you did today and just wanted to pipe up in case I can help.
I was getting a similar exception and tries googling for some help. I learned about the need for the proper version of antlr in the classpath and in my case that solved the problem. I moved the antlr version provided w/hibernate (3.0.5 in my case) to the top of my classpath (as opposed to the bottom) and all was well after that.
I realize you've tried this solution.
Do you possibly have a "bad" version of antlr in your classpath, for example in your jre's lib/ext dir?
Perhaps you can figure out where the JVM is locating the antlr classes?
Perhaps you could try hibernate 3.0.5?
Good luck!
John