zoukankan      html  css  js  c++  java
  • springboot java jar指定启动的jar外部配置文件

    Limited Setting Effect 中文描述
    Java 8 -Xbootclasspath:<path> Sets the search path for bootstrap classes and resources.

    设置引导类和资源的搜索路径。

    不常用,否则要重新写所有Java 核心class

    Java 8 -Xbootclasspath/p:<path> Prepends the specified resources to the front of the bootstrap class path.

    将指定的资源放在引导类路径的前面。一般用来增加jar内除外的配置,增加的配置会被jar中的配置文件覆盖。

    不常用,避免
    引起不必要的冲突.

    Java 8 -Xbootclasspath/a:<path> Appends the specified resources to the end of the bootstrap class path. 将指定的资源附加到引导类路径的末尾。  一般用来覆盖jar内原有的配置。

    java -jar -Xbootclasspath/a:./config /ccc.jar param1 param2

    来源:

    -Xbootclasspath

  • 相关阅读:
    实验四 决策树
    实验三 朴素贝叶斯
    实验2 k近邻
    实验一
    实验三
    第二次实验
    实验一
    ATM取款系统
    流程图与活动图的区别与联系
    第一次随笔
  • 原文地址:https://www.cnblogs.com/zhian/p/15716341.html
Copyright © 2011-2022 走看看