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:\geekbang\upload\images
#静态资源目录
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'

上一篇:Android驱动中的remap_pfn_range()校验漏洞(CVE-2013-2596)


下一篇:Swift 4 Developing a Data-Driven App