org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.Arrays$ArrayList' to required type 'java.util.List' for property 'featureSet'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dkpro.tc.examples.single.document.WekaSimpleDkproTCReaderDemo$1] to required type [java.lang.String] for property 'featureSet[0]': no matching editors or conversion strategy found

GitHub | Horsmann | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 39#230113899

    GitHub | 11 months ago | Horsmann
    org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.Arrays$ArrayList' to required type 'java.util.List' for property 'featureSet'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dkpro.tc.examples.single.document.WekaSimpleDkproTCReaderDemo$1] to required type [java.lang.String] for property 'featureSet[0]': no matching editors or conversion strategy found

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot convert value of type [org.dkpro.tc.examples.single.document.WekaSimpleDkproTCReaderDemo$1] to required type [java.lang.String] for property 'featureSet[0]': no matching editors or conversion strategy found

      at org.springframework.beans.TypeConverterDelegate.convertIfNecessary()
    2. Spring Beans
      DirectFieldAccessor.setPropertyValue
      1. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:267)
      2. org.springframework.beans.TypeConverterDelegate.convertToTypedCollection(TypeConverterDelegate.java:562)
      3. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:202)
      4. org.springframework.beans.DirectFieldAccessor.setPropertyValue(DirectFieldAccessor.java:129)
      4 frames