84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
本地也是was6环境 可以正确运行, 发布到测试环境后,ObjectMapper类 报错找不到部分方法,我用反射打印方法和对应参数,结果,环境上比本地 要少输出10多个方法,百思不得其解。。。用的是这个版本jackson-all-1.9.11.jar
欢迎选择我的课程,让我们一起见证您的进步~~
It is recommended to carefully compare the differences in jar packages in the two environments to see if there are other versions of json packages and whether there are conflicts
Try this maven configuration.
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.5.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.5.0</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.5.0</version> </dependency>
It is recommended to carefully compare the differences in jar packages in the two environments to see if there are other versions of json packages and whether there are conflicts
Try this maven configuration.