dozer 5.0的官方配置样例有错误:http://dozer.sourceforge.net/documentation/mappings.html。这里给出一个正确的样例:
<?xml version="1.0" encoding="UTF-8"?>
<mappings xmlns="http://dozer.sourceforge.net"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://dozer.sourceforge.net
http://dozer.sourceforge.net/schema/beanmapping.xsd">
<configuration>
<date-format>MM/dd/yyyy</date-format>
</configuration>
</mappings>