最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Dozer error detected when validating the file beanmapping.xsd - Stack Overflow

programmeradmin0浏览0评论

I'm working on a old project with java 8 and spring boot 1.5.10.RELEASE. I have spent all day configuring it on my device, I successfully managed over 100 errors detected by Spring Tool Suite 4 (version 4.5.1.RELEASE).

There are only 8 errors left, which are related to dozer, a library for mapping that I have never used. All with same error details:

abi-originator-mapping.xml :

<?xml version="1.0" encoding="UTF-8"?>
<mappings xmlns=";
    xmlns:xsi=";
    xsi:schemaLocation="
          .xsd">

    <mapping>

        <class-a>com.project.persistence.entity.AbiEntity</class-a>
        <class-b>com.project.bean.AbiBean</class-b>

        <field>
            <a>abiOrig</a>
            <b>abiOrig</b>
        </field>
    
        <field>
            <a>abiDest</a>
            <b>abiDest</b>
        </field>
        
    </mapping>

</mappings>

I don't understand the first 3 rows, and apart from that, there is no element of type hr to be closed.

发布评论

评论列表(0)

  1. 暂无评论