Domanda

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?

È stato utile?

Soluzione

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).

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top