Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource

来源:3-11 用户模型管理--用户注册功能实现02

枫亦

2019-06-28 13:18

求教:ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'requestMappingHandlerMapping' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Invalid mapping on handler class [com.miaoshaproject.controller.UserController]: public com.miaoshaproject.response.CommonReturnType com.miaoshaproject.controller.UserController.register(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws com.miaoshaproject.error.BusinessException

写回答 关注

0回答

还没有人回答问题,可以看看其他问题

SpringBoot构建电商基础秒杀项目

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

49072 学习 · 954 问题

查看课程

相似问题