org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.salesmanager.core.business.catalog.category.dao.CategoryDaoImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import com.salesmanager.core.business.catalog.category.model.QCategory cannot be resolved The import com.salesmanager.core.business.catalog.category.model.QCategoryDescription cannot be resolved QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Poorna, 1 year ago
Could not instantiate bean class [com.salesmanager.core.business.catalog.category.dao.CategoryDaoImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import
via Google Groups by Andreas We, 7 months ago
Could not instantiate bean class [org.red5.core.FNG]: Is it an abstract class?; nested exception is java.lang.InstantiationException
via Google Groups by Shamsul Kamal, 2 years ago
Could not instantiate bean class [org.springframework.oxm.xstream.XStreamMarshaller]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: sun.reflect.ReflectionFactory is a restricted class. Please see the Google App Engine developer's guide for more details.
via Stack Overflow by user1300877
, 2 years ago
Failed to instantiate [com.mycompany.TypeBuilder]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.mycompany.TypeBuilder.<init>()
via karaf-user by Gonzalo Aguilar Delgado, 6 months ago
Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
via karaf-user by Gonzalo Aguilar Delgado, 6 months ago
Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
java.lang.Error: Unresolved compilation problems: The import com.salesmanager.core.business.catalog.category.model.QCategory cannot be resolved The import com.salesmanager.core.business.catalog.category.model.QCategoryDescription cannot be resolved QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable QCategory cannot be resolved to a type QCategory cannot be resolved to a variable QCategoryDescription cannot be resolved to a type QCategoryDescription cannot be resolved to a variable
at com.salesmanager.core.business.catalog.category.dao.CategoryDaoImpl.(CategoryDaoImpl.java:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.