Re: javax.persistence.Persistence classNotFoundError

2016-05-02 Thread Ananth Gundabattula
Hello Siyuan, Please find attached the output of the unzip -t command on the apa package. The library jar is indeed present in there. What confuses me here is that the stack trace suggests that it is coming when the engine is validating the App ( and not from my application code). I am

Re: javax.persistence.Persistence classNotFoundError

2016-05-02 Thread hsy...@gmail.com
Hey Ananth, Can you unzip your apa file to see if it is in the lib folder? If it is not there, it means the packaging is not correct. Regards, Siyuan On Mon, May 2, 2016 at 4:39 AM, Ananth Gundabattula wrote: > Hello All, > > I was able to get around the issue pasted

Re: javax.persistence.Persistence classNotFoundError

2016-05-02 Thread Ananth Gundabattula
Hello All, I was able to get around the issue pasted above by manually copying the javaee-api-7.0 jar inside the lib folder of Apex engine. It may be noted that the code works perfectly fine in a unit test that launches all of the operators in the DAG. ( Works end to end ) . However when I launch

javax.persistence.Persistence classNotFoundError

2016-04-29 Thread Ananth Gundabattula
Hello All, I am getting the following exception when I launch my Apex app. I tried including javaee-api- version 7.0 as well to get around this error but does not seem to take effect. Any ideas why javax.persistence.Persistence is not getting loaded by the APex engine classloader ? An error