查看发现引入 微信实体类时候没有指定版本
<!--引入微信实体类层--> <dependency> <groupId>org.example</groupId> <artifactId>zmn-shop-service-api-weixin</artifactId> </dependency>
同时在微信实体类pom文件中也没有添加版本
<parent> <artifactId>zmn-shop-api-entity-api</artifactId> <groupId>org.example</groupId> <version>1.0-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <description>微信实体类</description> <packaging>jar</packaging> <groupId>org.example</groupId> <artifactId>zmn-shop-service-api-weixin</artifactId>
解决思路,双方均添加版本号
<modelVersion>4.0.0</modelVersion> <description>微信实体类</description> <packaging>jar</packaging> <groupId>org.example</groupId> <artifactId>zmn-shop-service-api-weixin</artifactId> <version>1.0.0</version>
<!--引入微信实体类层--> <dependency> <groupId>org.example</groupId> <artifactId>zmn-shop-service-api-weixin</artifactId> <version>1.0.0</version> </dependency>
重新build项目,问题解决