Skip to content

Instantly share code, notes, and snippets.

@ivange94
Created May 3, 2017 20:12
Show Gist options
  • Save ivange94/e0d4773a44033486c184b5a75d8e1fad to your computer and use it in GitHub Desktop.
Save ivange94/e0d4773a44033486c184b5a75d8e1fad to your computer and use it in GitHub Desktop.
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.view.ContentNegotiatingViewResolver#0' defined in URL [file:/Users/ivange/workspace/lh-projects/lh-toolkit/web/target/classes/openmrs-servlet.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'mediaTypes' of bean class [org.springframework.web.servlet.view.ContentNegotiatingViewResolver]: Bean property 'mediaTypes' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment