Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskConfigs' defined in class path resource [spring-dbsync.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: org.dom4j.DocumentException: Invalid byte 3 of 3-byte UTF-8 sequence. Nested exception: Invalid byte 3 of 3-byte UTF-8 sequence
UTF-8的spring文件中存在中文,去掉中文注释就行了
Spring配置文件UTF-8中文问题
本文介绍了一个关于Spring框架在使用UTF-8编码的配置文件时遇到的问题:因配置文件中含有中文字符而导致初始化失败。文章给出了具体的错误提示,并提出了解决方案——移除配置文件中的中文注释。
3225

被折叠的 条评论
为什么被折叠?



