HTTP Status 500 – Internal Server Error
Type Exception Report
Message Request processing failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
I didn’t modify any generated code, so this error is occurring with the default setup. Can anyone help me to setup platform module successfully
I have executed the following steps to create above module .
mvn openmrs-sdk:create-project
Specify module ID : mynewmodule.
What kind of project would you like to create?:
1) Platform module
Then after creating the project i build it using the command mvn clean install and got build successful message then tried to deploy it using the Admin interface