I am still trying to learn how to create a search from with search action and database. However I have too many errors:
[RuntimeException: No JPA EntityManagerFactory configured for name [default]] This error appear when i fix the
application.conffile like:*db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://localhost/search"
db.default.user=root
db.default.password=123456
db.default.jndiName=DefaultDS*
- PersistenceException: No Persistence provider for EntityManager named defaultPersistenceUnit when i insert this into : application.conf
*jpa.default=defaultPersistenceUnit*
I searched all over http://stackoverflow.com but I couldn't find any answers, and my app still isn't working. Help me fix it. Thanks for help :)
You guys can see my code in here : Error : RuntimeException: No JPA EntityManagerFactory configured for name [default]
Did you add the different dependencies in your project?
http://www.playframework.com/documentation/2.1.x/JavaJPA