![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
文章平均质量分 50
u014736629
这个作者很懒,什么都没留下…
展开
-
springboot跳转html页面
@RestController注解相当于@ResponseBody + @Controller合在一起的作用。是无法跳转页面的 页面中会显示json@Controller 不加@ResponseBody 才可以跳转页面跳转页面的前缀和后缀在application.properties配置...原创 2018-02-26 13:51:22 · 2948 阅读 · 0 评论 -
springboot @Autowired注入空指针问题
问题1注解扫描的包不在同一包下 即@Controller标注的类所在的包 和 @Autowired标注的类所在的包 不在同一包下解决方式:1 . 更改包名 使两个类在同一包下2 . 在启动类上,使用注解@ComponentScan(basePackages = { "com.xxx" })问题2@Servicepublic class ProcessStarter { @Autowired...原创 2018-03-05 11:14:46 · 16981 阅读 · 0 评论 -
springboot集成ActivitiModeler 需要登录用户名和密码的问题
问题出现 <dependency> <groupId>org.activiti</groupId> <artifactId>activiti-spring-boot-starter-rest-api</artifactId> <version>6.0.0</version> <原创 2018-09-21 11:40:47 · 5319 阅读 · 0 评论