Spring+Mybatis+Dubbo报错java.lang.reflect.MalformedParameterizedTypeException

原因是spring的jar文件冲突,排除spring的文件即可

      <dependency>
            <groupId>com.alibabagroupId>
            <artifactId>dubboartifactId>
            <version>2.5.3version>
            <exclusions>  
              <exclusion>  
                <artifactId>springartifactId>  
                <groupId>org.springframeworkgroupId>  
              exclusion>  
            exclusions>
        dependency>

 

点赞

Leave a Reply

Your email address will not be published. Required fields are marked *