maven工程上执行main函数的类报 can't find main class

1、在buildpath中选择 maven默认的编译类路径是target/classes下

原文地址:https://www.cnblogs.com/xuzhenmin/p/3530844.html