为了账号安全,请及时绑定邮箱和手机立即绑定

运行出现Process finished with exit code 1

https://img1.sycdn.imooc.com//5bd1ca7c0001365618480303.jpg这是怎么回事啊?

正在回答

4 回答

你属性建set方法了吗?

0 回复 有任何疑惑可以回复我~

Description:

Failed to bind properties under 'girl' to com.example.demo.GirlProperties:

    Property: girl.cupsize
    Value: B
    Origin: class path resource [application.yml]:4:12
    Reason: No setter found for property: cup-size

Action:

建完那个girlproperties类,然后在hellocontroller里面用出现这个

0 回复 有任何疑惑可以回复我~

没有粘贴完啊

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
2小时学会Spring Boot
  • 参与学习       151664    人
  • 解答问题       1079    个

Spring Boot入门视频教程,你将学会使用Spring Boot快速构建应用程序

进入课程

运行出现Process finished with exit code 1

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信