[英]How to create single executable jar with all dependencies and with a properties file?
You can give that property value while executing your jar file.您可以在执行 jar 文件时提供该属性值。 The given value will override configured value.给定的值将覆盖配置的值。 Ex: Suppose you want to change the property name while executing app jar.例如:假设您要在执行 app jar 时更改属性名称。
java -jar app.jar --name="Spring"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.