本文主要介紹Java中,將Spring cloud 應用程序更新到最新的Spring boot 2.5.0。報錯:org.springframework.boot.context.config.InvalidConfigDataPropertyException: Property 'spring.profiles.active' imported from location 'class path resource [application-dev.yml]' is invalid in a profile specific resource [origin: class path resource [application-dev.yml] from skyshop-mail-1.0.jar - 42:17]的解決方法。
原文地址:Java Spring boot 報錯 Property 'spring.profiles.active' imported from location is invalid解決方法
