Hi Akshit,

OpenEJB 3.0 didn't have javassist and this mbean wrapper so I guess
you either have mixed versions or not use OpenEJB 3. Then the
exception simply means javassist is there is a conflicting version.

Side note: as OpenEJB 3 doesn't have javassist, OpenEJB 4.7 or 7.x
don't rely anymore on javassist at all.

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


2016-04-01 6:33 GMT+02:00 akshit <[email protected]>:
> Hi,
> In my project I am testing a method of EJB using a JUnit class. So to obtain
> the reference and create a local environment I used openEJB 3.0. And for
> using it, I create a java class where I have set properties related to
> openEJB connection. I have also registered an aspect in aop.xml and have
> added the project, containing aop.xml, in the build path. Kindly find the
> stack trace below. Especially what is the meaning of error:
> NoSuchMethodError:  java.lang.NoSuchMethodError:
> javassist.util.proxy.ProxyFactory.isProxyClass(Ljava/lang/Class;)Z;
>
> Kindly find an attached stack trace I am getting while running my test case.
> openEJB_exception_isproxy.txt
> <http://tomee-openejb.979440.n4.nabble.com/file/n4678040/openEJB_exception_isproxy.txt>
>
> Any idea about the error will be appreciated.
> Thanks in advance.
> 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-tp4678040.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to