Eclipse中运行出现selection does not contain a main type错误

    xiaoxiao2022-07-05  151

    今天跑一个以前的项目,run的时候总是会出现selection does not contain a main type这个错误

    找了很久,原来: 应该是将鼠标选在包含 public static main 这个class中,然后在选run 而不是,之间右键一整个项目,然后选择run(跑JSP项目跑多了,就会有这个惯性)

    最新回复(0)