[2.4.x-java] class not mapped error when using jpa in stage mode

156 views
Skip to first unread message

Seb

unread,
May 29, 2015, 11:36:21 AM5/29/15
to play-fr...@googlegroups.com
Hi

I have just done the migration of my project from 2.3.8 to 2.4.0

In dev mode everything is ok

In stage mode, if I execute a jpa query I have a JPA exception that says "XXX is not mapped"

I really don't know what I can do in this situation as my config seems ok in dev mode.

Regards
Seb

Paided

unread,
May 30, 2015, 7:18:05 AM5/30/15
to play-fr...@googlegroups.com
I've got the same problem.

I changed from play 2.3.9/Java 7 to 2.4.0/Java 8. The application works correctly under Windows 7 and MySQL (in dev and production mode). On the server (Ubuntu 14.04/MySQL) in production mode it starts too. But when i do a request, the exception appears.

Seb

unread,
Jun 1, 2015, 1:52:28 AM6/1/15
to play-fr...@googlegroups.com
Hi

I reproduced this behavior on a fresh simple test project so I created an issue : https://github.com/playframework/playframework/issues/4590

It seems that it is not possible to use JPA with version 2.4.0

Regards
Seb

Matthias Kurz

unread,
Jun 1, 2015, 2:17:57 AM6/1/15
to play-fr...@googlegroups.com
Could you provide the test project you created on github?
Reply all
Reply to author
Forward
0 new messages