-Dxxx=xuejian

在启动时向VM中添加这个参数, 是在向系统属性Properties中添加属性xxx=xuejian

系统属性可以在application.properties或bootstrap.properties中直接通过${xxx}取值

 

-Psit

是在打包时,向pom文件的profile标签属性传递的参数,表示选择哪个profile,此处是sit

 

相关文章:

  • 2021-08-10
  • 2021-12-03
  • 2021-06-17
  • 2021-12-20
  • 2021-07-11
  • 2022-02-06
猜你喜欢
  • 2021-06-08
  • 2022-12-23
  • 2021-07-18
  • 2020-04-21
  • 2021-09-14
  • 2021-09-14
  • 2021-11-15
相关资源
相似解决方案