Failed to load property source from location 'classpath:/application.properties'

Posted yiosi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Failed to load property source from location 'classpath:/application.properties'相关的知识,希望对你有一定的参考价值。

java.lang.IllegalStateException: Failed to load property source from location ‘classpath:/application.properties‘
Caused by: java.lang.IllegalArgumentException: Malformed uxxxx encoding.

#保存图片的路径
ueditor.upload.filepath= E:geekbanguploadimages
#静态资源目录
ueditor.upload.staticFilePath= file:E:geekbang


原因是properties中不能含有符号


解决方法:

ueditor.upload.filepath= # E:\geekbang\upload\images

ueditor.upload.staticFilePath= file:E:\geekbang\







以上是关于Failed to load property source from location 'classpath:/application.properties'的主要内容,如果未能解决你的问题,请参考以下文章

springboot配置文件 application.yml注意事项(Failed to load property source from location 'classpath:/appl

Failed to load dynamic library

Android Studio 3.0预览版本 Error:Gradle: failed to create directory 解决方案

failed to load class "org.sl4j.impl.StaticLoggerBinder"

CentOS 启动解决 failed to load SELinux policy freezing

Spring-boot2.0.1.BUILD-SNAPSHOT整合Elasticsearch报failed to load elasticsearch nodes错误解决办法