could not find the main class

前言:

     将项目提交到svn仅上传了src和lib,然后烤下来后说死就是报could not find the main class错误,无论怎么构建项目就是不好使。

出现问题:

      java 和 scala 混合编程的项目在eclipse中报错could not find the main class。

解决方案:

     当我们找到问题的出处后,剩下的工作就变得简单了。删掉scala文件,然后添加scala SDK,在新建scala文件,这时发现scala文件变了颜色。ok,so ga !

猜你喜欢

转载自see-you-again.iteye.com/blog/2299317