سؤال

If I create a new Scala project in the Eclipse Scala IDE, my code compiles and runs. However, when I import an existing project, my code doesn't compile (no class files are generated) and I get a NoClassDefFoundError in the console. Any ideas what could cause this? Do I need additional software?

هل كانت مفيدة؟

المحلول

As mentioned in comments, this is often the symptom of missing dependencies in your imported project, either jars or other projects (which should be imported and buildable in the IDE).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top