编译报错 com.fasterxml.jackson.databind.JavaType
在处理RabbitMQ对接过程中,导入jar包后,编译出现jar包版本不匹配,缺少方法等报错;
处理方式:导入缺少的jar包即可
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.9.7</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.9.8</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.9.8</version> </dependency>