java.lang.NoClassDefFoundError: Failed resolution of: Lorg/springframework/util/Assert;

GitHub | n0mer | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    remove dependency on spring-core org/springframework/util/Assert

    GitHub | 8 months ago | n0mer
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/springframework/util/Assert;

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Failed resolution of: Lorg/springframework/util/Assert;

      at org.springframework.statemachine.config.common.annotation.AbstractConfiguredAnnotationBuilder.<init>()
    2. org.springframework.statemachine
      StateMachineBuilder.builder
      1. org.springframework.statemachine.config.common.annotation.AbstractConfiguredAnnotationBuilder.<init>(AbstractConfiguredAnnotationBuilder.java:91)
      2. org.springframework.statemachine.config.builders.StateMachineModelBuilder.<init>(StateMachineModelBuilder.java:54)
      3. org.springframework.statemachine.config.StateMachineBuilder$BuilderStateMachineConfigurerAdapter.getStateMachineModelBuilder(StateMachineBuilder.java:211)
      4. org.springframework.statemachine.config.StateMachineBuilder$BuilderStateMachineConfigurerAdapter.<init>(StateMachineBuilder.java:165)
      5. org.springframework.statemachine.config.StateMachineBuilder$Builder.<init>(StateMachineBuilder.java:76)
      6. org.springframework.statemachine.config.StateMachineBuilder.builder(StateMachineBuilder.java:57)
      6 frames