@Component和@SpringView之间的关系

问题描述 投票:-1回答:1

我有一个错误:

创建名为'personpresenter'的bean时出错:通过字段'personviewImpl'表示不满意的依赖关系;嵌套异常是org.springframework.beans.factory.BeanCreationException:创建名为'viewCache'的bean时出错:Scope'vaadin-ui'对当前线程不活动;考虑为这个bean定义一个范围代理,如果你想从一个单例引用它;嵌套异常是java.lang.IllegalStateException:没有绑定到当前线程的VaadinSession

enter link description here

对不起,我不知道如何插入代码应该感谢Google驱动程序转移你想要专用的代码项目,这是

spring spring-boot
1个回答
0
投票

@SpringView @Component属于同一个类?

因为当我删除其中一个时,项目开始但没有显示任何内容

© www.soinside.com 2019 - 2024. All rights reserved.