[PAXEXAM] test transactional method in Karaf

8 views
Skip to first unread message

Thomas L

unread,
Jul 13, 2021, 12:44:35 PM7/13/21
to OPS4J

Hello,

I'm trying to use PaxExam 4.
The set up is ok. I'm able to run my custom Karaf distribution from my local maven repositiory.
Using @Inject allows to have my service injected and i can check with assertNotNull().

Now i'm trying to test a transactional method and i have this error :
java.lang.ClassNotFoundException: javax.persistence.TransactionRequiredException (no security manager: RMI class loader disabled)

If somebody has an idea, please tell me.

Regards,
Thomas
Reply all
Reply to author
Forward
0 new messages