[ERROR] /D:/lhq/files/maventest/src/main/java/cn/gcuweb/demo/hello.java:[2,8] 类helloworld是公共的, 应在名为 helloworld.java 的文件中声明
决绝:
名称不一样,查看文件夹与class是否一样
[ERROR] /D:/lhq/files/maventest/src/main/java/cn/gcuweb/demo/hello.java:[2,8] 类helloworld是公共的, 应在名为 helloworld.java 的文件中声明
决绝:
名称不一样,查看文件夹与class是否一样