Jarosław Pałka wrote:

When I run this test case from command line I get same exception.
When I run whole container which uses hibernate and cglib it works without
any problems.

OK - this confirms that there is a conflict somewhere in terms of the ant classloader. The JVM is attempting to load a class cglib class and it finding something in the ant loader and therefore is looking in the immediate classloader. If you turn on verbose mode when running ant you will see messages showing where classes are being loaded - not sure if this will help but it will provide a little more information.


Stephen.

--

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to