问题描述 按照以往的代码进行SpringBoot的相应部署,但是爆出来这个错误: 问题解决 里面说找不到我定义的bean实体类,那就加上这么一条注解,让他能够找到实体类: 然后启动: 并在浏览器里面查看一下: ok!问题解决!本栏目推荐文章蚂蚁爱购--靠谱的SpringBoot项目实时数据流无忧:用 SpringBoot 和 SSE 打造动态前端更新的终极指南springBoot(基础部分)SpringBoot配置报错:Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class40 个 SpringBoot 常用注解:让生产力爆表!Springboot 全局日期时间格式处理SpringBoot中使用SpringEvent业务解耦神器实现监听发布事件同步异步执行任务SpringBoot3.x升级整合各依赖Springboot 项目集成 PageOffice V6 最简单代码SpringBoot中使用SpringRetry实现重试机制(重试调用第三方API)