Hi,
I encounter a very confusing situation.
Everything works under the grails prod run-app,
However, when I run the war by using grails package, lots of strange error come out.
Like the following error occured when application start up.
ERROR org.springframework.boot.SpringApplication - Application startup failed
org.springframework.orm.hibernate5.HibernateSystemException: IllegalArgumentException occurred calling getter of
com.fithealth.model.User.id; nested exception is org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of
com.fithealth.model.User.id
but it works if I use grails prod run-app, the data can be build into my mysql when BootStrap runing.
I really need your help to out of this problem, if you would ever met.
Any help will be appraciate,
Best regards,
tony