cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koushik Das <>
Subject Re: Spring errors when creating new DAO
Date Thu, 03 Nov 2016 11:15:10 GMT
Can you share the details about StoragePoolTagsDaoImpl class and its super classes? Looks like
in the hierarchy a default ctor is missing.

On 03/11/16, 12:09 AM, "Nicolás Vázquez" <> wrote:

    Hi all,
    I've been having troubles creating a new DAO on cloud-engine-schema.
    Specifically, I'm getting this error:
    *java.lang.IllegalArgumentException: Superclass has no null constructors
    but no arguments were given*
    I defined new bean on spring-engine-schema-core-daos.xml file and injected
    it into StorageManagerImpl class.
    I annotated new impl class with @Component, and provided a constructor with
    no arguments. Did you have a similar issue?
    Error creating bean with name 'storageManagerImpl': Injection of autowired
    dependencies failed; nested exception is
    org.springframework.beans.factory.BeanCreationException: Could not autowire
    field:; nested exception
    is org.springframework.beans.factory.BeanCreationException: Error creating
    bean with name 'storagePoolTagsDaoImpl' defined in URL
    Instantiation of bean failed; nested exception is
    org.springframework.beans.BeanInstantiationException: Could not instantiate
    bean class []: Constructor
    threw exception; nested exception is java.lang.IllegalArgumentException:
    Superclass has no null constructors but no arguments were given

This e-mail may contain privileged and confidential information which is the property of Accelerite,
a Persistent Systems business. It is intended only for the use of the individual or entity
to which it is addressed. If you are not the intended recipient, you are not authorized to
read, retain, copy, print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent
Systems business does not accept any liability for virus infected mails.
View raw message