Annotations are not allowed here,@PostMapper路径,不加;

简介: Annotations are not allowed here,@PostMapper路径,不加;

这里解决方法是,把;给去掉

就好了


相关文章
|
12月前
|
前端开发 Java Maven
【异常解决】org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character
【异常解决】org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token found character
1023 0
|
3月前
|
Java
映射大量文件的正解,Description:Field commentMapper in zero.file.videoProject.controller.CommentController r
映射大量文件的正解,Description:Field commentMapper in zero.file.videoProject.controller.CommentController r
Field userMapper in zero.file.videoProject.service.UserService required a bean of type ‘zero.file.vi
Field userMapper in zero.file.videoProject.service.UserService required a bean of type ‘zero.file.vi
|
传感器 编解码 数据可视化
costmap_common_params.yaml参数解析和修改要点
costmap_common_params.yaml参数解析和修改要点
1503 1
|
JavaScript Java Spring
【异常】This application has no explicit mapping for /error, so you are seeing this as a fallback的解决方法
This application has no explicit mapping for /error, so you are seeing this as a fallback的解决方法
3437 0
【异常】This application has no explicit mapping for /error, so you are seeing this as a fallback的解决方法
|
XML Java 应用服务中间件
Push to origin/master was rejec、enum+switch枚举搭配使用、idea 如何进入debug;Error during artifact deployment. S
Push to origin/master was rejec、enum+switch枚举搭配使用、idea 如何进入debug;Error during artifact deployment. S
182 0
Push to origin/master was rejec、enum+switch枚举搭配使用、idea 如何进入debug;Error during artifact deployment. S
使用SpringBoot报错:Inferred type ‘S‘ for type parameter ‘S‘ is not within its bound。【解决办法】
使用SpringBoot报错:Inferred type ‘S‘ for type parameter ‘S‘ is not within its bound。【解决办法】
使用SpringBoot报错:Inferred type ‘S‘ for type parameter ‘S‘ is not within its bound。【解决办法】
|
缓存 Java 应用服务中间件
SpringBoot文件上传异常之提示The temporary upload location xxx is not valid
SpringBoot搭建的应用,一直工作得好好的,突然发现上传文件失败,提示org.springframework.web.multipart.MultipartException: Failed to parse multipart servlet request; nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.6239989728636105816.19530/work/Tomcat/localhost/ROOT] is not valid目录非法
616 0
SpringBoot文件上传异常之提示The temporary upload location xxx is not valid
FastAPI(26)- Path Operation Configuration 路径操作的配置
FastAPI(26)- Path Operation Configuration 路径操作的配置
125 0
FastAPI(26)- Path Operation Configuration 路径操作的配置