1. 程式人生 > >springboot整合fastdfs、啟動不成功

springboot整合fastdfs、啟動不成功

SpringBoot整合fastdfs時,啟動不成功,報以下錯誤

APPLICATION FAILED TO START
***************************

Description:

Configuration property name 'fdfs.thumbImage' is not valid:

    Invalid characters: 'I'
    Bean: uploadController
    Reason: Canonical names should be kebab-case ('-' separated), lowercase alpha-numeric characters and must start with a letter

Action:

Modify 'fdfs.thumbImage' so that it conforms to the canonical names requirements.

這是由於SpringBoot版本導致的,把SpringBoot的版本改成1.5即可啟動成功