批注接口 ConditionalOnMissingClass


@Target({TYPE,METHOD}) @Retention(RUNTIME) @Documented @Conditional(org.springframework.boot.autoconfigure.condition.OnClassCondition.class) public @interface ConditionalOnMissingClass
@Conditional that only matches when the specified classes are not on the classpath.
从以下版本开始:
1.0.0
作者:
Dave Syer
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    The names of the classes that must not be present.
  • 元素详细资料

    • value

      String[] value
      The names of the classes that must not be present.
      返回:
      the names of the classes that must not be present
      默认值:
      {}