spring boot org.springframework.beans.factory.BeanCreationException: Could not autowire field:

后端 未结 2 672
青春惊慌失措
青春惊慌失措 2021-01-29 03:24

I\'m starting with spring-boot and i have some configuration problems. I cannot autowire some services. I get an BeanCreationException.

My Application class:

<
2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-29 04:00

    i just remove the Jersey dependency and only work with the native REST-api (RequestMapping) from spring. And it works. I think, spring-boot and jersey don't work good together.

提交回复
热议问题