org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'java.security.PrivateKey' for property 'privateKey'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [java.security.PrivateKey] for property 'privateKey': no matching editors or conversion strategy

Google Groups | Dan McLaughlin | 5 years 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

    Metadata Aggregator - Issues with XMLSignatureSigningStage

    Google Groups | 5 years ago | Dan McLaughlin
    org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.lang.String' to required type 'java.security.PrivateKey' for property 'privateKey'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [java.lang.String] to required type [java.security.PrivateKey] for property 'privateKey': no matching editors or conversion strategy

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot convert value of type [java.lang.String] to required type [java.security.PrivateKey] for property 'privateKey': no matching

      at org.springframework.beans.TypeConverterDelegate.convertIfNecessary()
    2. Spring Beans
      BeanWrapperImpl.convertIfNecessary
      1. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      2. org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:447)[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE]
      2 frames