Hi Jon,
Appreciate your reply. Unfortunately as this our organisation
artefact, I will not be able to created a sample war. Also we are using
docker for deployment. I resolved the issue by using @Autowired instead of
@PersistentContext. But now i am getting a new error.
=
Are you able to create a small sample war that can help us reproduce it?
That would be a big help.
Many thanks
Jon
On Fri, Feb 1, 2019 at 2:44 PM priyaksi...@gmail.com
wrote:
> Hi Roberto,
>
> Thank You for replying. Appreciated it :)
>
> Yes, persistence.xml exists under
Hi Roberto,
Thank You for replying. Appreciated it :)
Yes, persistence.xml exists under src/main/resources. It has always
been at this location and the application runs fine on Tomee 1.7.5. I have
also enclosed spring's "entitymanagerFactory" bean definitions from
Hi,
It seems that your issue might be related with this error log:
SEVERE: FAIL ... Login: Missing required persistence.xml for
@PersistenceContext ref "entityManager" to unit
"auditLoggingPersistenceUnitā€¯
Do you have a persistence.xml added to your webapp? You need one if you want to
use JPA