Spring Boot : Error creating bean with name 'jpaMappingContext': java.lang.NullPointerException

前端 未结 4 1409
太阳男子
太阳男子 2021-02-07 09:20

My combination of is Spring Boot + Spring Data Jpa + Multiple Databases. I am getting following NullPointer exception when starting the application. Feels like SPring Data with

4条回答
  •  温柔的废话
    2021-02-07 10:09

    Many thanks to Vishal for the idea. In my case it was generic-less implementation of javax.persistence.AttributeConverter that provoked this exception. Changing class MapConverter implements AttributeConverter { ... } to class MapConverter implements AttributeConverter, String> { ... } really helped.

提交回复
热议问题