2015-02-28 8 views
10

यह अपवाद लागू और हल यह करने में सक्षम नहीं ... हल करनेकैसे इस अपवाद

Error:scalac: missing or invalid dependency detected while loading class file 'GenericCollection.class'. 
Could not access term play in package <root>, 
because it (or its dependencies) are missing. Check your build definition for 
missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) 
A full rebuild may help if 'GenericCollection.class' was compiled against an incompatible version of <root>. 
+0

Reactivemongo Play ढांचे के कुछ हिस्सों का उपयोग करता है। आपको अपनी परियोजना में प्ले शामिल करने की आवश्यकता होगी। –

+0

क्या आप अपनी त्रुटि तय करने वाले आयात को जोड़ सकते हैं? – Daniel

उत्तर

9

त्रुटि संदेश मूल रूप से कह रही है कि GenericCollection.class_root_.play पैकेज के लिए एक संदर्भ है, लेकिन play पैकेज नहीं कर सकते पाया जायेगा।

आपको लाइब्रेरी पर निर्भरता जोड़नी है जो play पैकेज प्रदान करता है, जो प्ले फ्रेमवर्क का बहुत अधिक हिस्सा है।

+0

मैं यह कैसे कर सकता हूं ?? – Zennichimaro

संबंधित मुद्दे