spring-boot-api-project-seed
spring-boot-api-project-seed copied to clipboard
:seedling::rocket:一个基于Spring Boot & MyBatis的种子项目,用于快速构建中小型API、RESTful API项目~
建议视频放在B站
没有广告加载也快些。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerInfoServiceImpl': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customerInfoMapper' defined in file [D:\gitfiles\aaip-wms\SpringReposAPI\target\classes\cn\webank\rap\predata\dao\CustomerInfoMapper.class]: Invocation of init method...
数据库中有联合主键会报错,生成的model有多个@Id注解的字段,报错:Caused by: tk.mybatis.mapper.MapperException: 继承 deleteByIds 方法的实体类[com.company.project.model.DeviceMulticastGroup]中必须只有一个带有 @Id 注解的字段
启动后报错: Could not find key 'SERVER.address' in any property source
想问下`cookies`,是在哪一步生成的呢
发现 自动生成model api 时,最后一个字段 没有生成 @Column 注解 
只是为了测试一下,第一次PR,可以忽略。启动脚本和打包方式可以参考下。