1
我試圖用java連接的MongoDB,但我得到以下異常的MongoDB與Java
Apr 3, 2013 10:55:41 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException
SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.NoClassDefFoundError: com/mongodb/DB
at prime.task.TaskServices.save(TaskServices.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
如果妳有人告訴我如何解決這個問題,它會非常有幫助,我
你在你的類路徑蒙戈的Java驅動程序。看起來像不存在 –
我包括使用Eclipse中的構建路徑包括mongo-java-driver-2.10.1.jar。我能夠看到該地點的所有課程 – Ramesh