Eclipse 软件 Java 解决:出现的editor does not contain a main type错误框 问题

Eclipse 软件 解决:出现的 editor does not contain a main type 错误框 问题 当你运行 Java文件是,如果弹出了下面的 错误框: 出现错误的原因: 当前的源代码(所有的包)没有被添加到build path中:(src路径里面是文件目录的样子) 解决方法: 对着:src 路径右键 -> Build Path -> Use as Source Folder
相关文章
相关标签/搜索