我的java应用程序出现了这个错误:
org.bson.types.ObjectId can not be found in source packages. Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly.
我在Java Build路径中有mongo-2.7.2.jar
顺便说一句,这很奇怪,因为我可以在mongo库jar中使用其他类和方法。