Announcement Announcement Module
Collapse
No announcement yet.
No matching editors or conversion strategy found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • No matching editors or conversion strategy found

    Hello,

    I get this exception while starting up the spring environment. Can somebody tell me what is wrong?

    Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'U
    serManagementDAO' defined in class path resource [gc_Server_Security_business-logic.xml]: Error sett
    ing property values; nested exception is PropertyAccessExceptionsException (1 errors)
    Caused by: PropertyAccessExceptionsException (1 errors)
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy10]
    to required type [com.gecco.server.generated.dbspdao.BEN_APPL_CHANGE _PASSWORD] for property 'spDAO'
    ; nested exception is java.lang.IllegalArgumentException: No matching editors or conversion strategy
    found

    Caused by: java.lang.IllegalArgumentException: No matching editors or conversion strategy found
    at org.springframework.beans.PropertyTypeConverter.co nvertIfNecessary(PropertyTypeConverter.
    java:209)
    at org.springframework.beans.PropertyTypeConverter.co nvertIfNecessary(PropertyTypeConverter.
    java:108)
    <bean id="UserManagementDAO"
    class="com.gecco.server.security.usermanagement.da o.UserManagementDAO"
    singleton="true">
    <property name="spDAO"><ref bean="BEN_APPL_CHANGE_PASSWORD"/></property>
    </bean>
    <beans>
    <bean id="BEN_APPL_CHANGE_PASSWORD"
    class="com.gecco.server.generated.dbspdao.BEN_APPL _CHANGE_PASSWORD" singleton="true">
    <constructor-arg index="0" ref="dataSource"/>
    <constructor-arg index="1">
    <value>KMS.BEN_APPL.CHANGE_PASSWORD</value>
    </constructor-arg>
    </bean>
    </beans>
    public class UserManagementDAO implements UserManagementDAOInterface {
    private BEN_APPL_CHANGE_PASSWORD spDAO;

    public BEN_APPL_CHANGE_PASSWORD getSpDAO() {
    return spDAO;
    }

    public void setSpDAO(BEN_APPL_CHANGE_PASSWORD spDAO) {
    this.spDAO = spDAO;
    }

    Thank you nort.
Working...
X