in your test do something like:

loader = Thread.currentThread().getContextClassLoader();
do {
System.out.println(loader);
loader = loader.getParent();
} while (loader != null);

It would allow to check if it is the normal tree or if you run in a
particular context which can be polluted by another javassist.

Also in the same method do:

System.out.println(ProxyFactory.class.getProtectionDomain().getCodeSource().getLocation())


Romain Manni-Bucau
@rmannibucau |  Blog | Github | LinkedIn | Tomitriber


2016-04-06 8:58 GMT+02:00 akshit <[email protected]>:
> Hi Romain,
> As you have suggested, I checked maven dependency hierarchy using the
> command: 'mvn dependency:tree' and also have checked the pom Dependency
> Hierarchy in eclipse IDE. And I have found only javassist 3.15.0 GA version
> coming from openejb-core:4.5.1. Still I am facing the same error?
> In your reply I could not understand the meaning of class loader hierarchy.
> How can i check it?
> Any other suggestion will also be preferred..
> Thanks & Regards,
> Akshit Bhatia
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/java-lang-NoSuchMethodError-javassist-util-proxy-ProxyFactory-isProxyClass-Ljava-lang-Class-Z-tp4678040p4678090.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to