在springcloud忠使用了postmapping进行传递实体类参数
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-12-25 19:45:30.016 ERROR [consumer,,] 40216 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'assetBorrowController': Unsatisfied dependency expressed through field 'assetBorrowClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webConsumer.client.AssetBorrowClient': Unexpected exception during bean creation; nested exception is java.lang.IllegalStateException: Method AssetBorrowClient#assetReturn(AssetBorrow,String) not annotated with HTTP method type (ex. GET, POST)
Warnings:
也没啥问题吧,感觉啥也没做