Skip to content

Private field 'demoService' is never assigned #1

@ArchGeass

Description

@ArchGeass

按照README.md中demo完全相同的操作,但在DemoConsumerController中的@reference注解的DemoService提示了Private field 'demoService' is never assigned,consumer项目启动正常,但在访问/sayHello时,会提示demoService为null,java.lang.NullPointerException: null

报错INFO 9172 --- [nio-8080-exec-1] trationDelegate$BeanPostProcessorChecker : Bean 'error' of type [org.springframework.web.servlet.view.InternalResourceView] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

求问这种情况没有遇到么,help and thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions