答案 0 :(得分:1)
尝试执行以下步骤:
1:删除.M2内容2
3:关闭Eclipse ..并重新打开
4:清理并更新项目配置
5:验证用于项目配置的java buld路径
6:尝试使用eclipse中嵌入的Maven进行测试,看看问题是外部Maven安装是否已损坏
答案 1 :(得分:0)
确保您已在pom.xml中正确声明了maven资源插件,并发布了pom.xml以供其他用户查看。
else if(args.length >= 1){
//this will ask args if it has a valid amount of args and will now check for word help
if(args[0].equalsIgnoreCase("help")){
player.sendMessage("This is my plugin my only command so far is /pop")
}
//ok now if(args.length >= 1) has a invalid argument we should let the user now. so at the very end add else stament
else {
player.sendMessage("invalid argument");
}
}
//close from first argument}