maven打包时警告:The requested profile 'prod' could not be activated because it does not exist. 需要在pom.xml配置多环境参数(仅供参考) <!--多环境参数配置--> <profiles> <profile> <id>dev</id> <activation> <activeByDefault>true</activeByDef…
"pom.xml" could not be activated because it does not exist. 在sts中使用maven build,输入package然后出现该错误的解决办法: 学习了: https://stackoverflow.com/questions/28192761/spring-maven-clean-error-the-requested-profile-pom-xml-could-not-be-activate 中的第三个回答 引导到:http…
1. 打包或clean时报错:To see the full stack trace of the errors, re-run Maven with the -e switch [WARNING] The requested profile "test" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clea…