Guest User

Untitled

a guest
Jan 10th, 2016
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.services.AssignmentService com.mihaib.springmvc.controller.AssignmentController.assignmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.repositories.AssignmentRepository com.mihaib.springmvc.services.AssignmentService.assignmentRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  2.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  3.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  4.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  5.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  6.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
  7.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  8.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
  9.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
  10.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
  11.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:834)
  12.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:537)
  13.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
  14.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
  15.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
  16.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4736)
  17.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5181)
  18.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  19.     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
  20.     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
  21.     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
  22.     at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1678)
  23.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  24.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  25.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  26.     at java.lang.reflect.Method.invoke(Method.java:497)
  27.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
  28.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  29.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  30.     at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:463)
  31.     at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:413)
  32.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  33.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  34.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  35.     at java.lang.reflect.Method.invoke(Method.java:497)
  36.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
  37.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  38.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  39.     at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)
  40.     at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
  41.     at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)
  42.     at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)
  43.     at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)
  44.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  45.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  46.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  47.     at java.lang.reflect.Method.invoke(Method.java:497)
  48.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
  49.     at sun.rmi.transport.Transport$1.run(Transport.java:200)
  50.     at sun.rmi.transport.Transport$1.run(Transport.java:197)
  51.     at java.security.AccessController.doPrivileged(Native Method)
  52.     at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
  53.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
  54.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
  55.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
  56.     at java.security.AccessController.doPrivileged(Native Method)
  57.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
  58.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  59.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  60.     at java.lang.Thread.run(Thread.java:745)
  61. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.services.AssignmentService com.mihaib.springmvc.controller.AssignmentController.assignmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.repositories.AssignmentRepository com.mihaib.springmvc.services.AssignmentService.assignmentRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  62.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
  63.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  64.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  65.     ... 58 more
  66. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.repositories.AssignmentRepository com.mihaib.springmvc.services.AssignmentService.assignmentRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  67.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  68.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  69.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  70.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  71.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
  72.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  73.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
  74.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
  75.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
  76.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
  77.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
  78.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
  79.     ... 60 more
  80. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.mihaib.springmvc.repositories.AssignmentRepository com.mihaib.springmvc.services.AssignmentService.assignmentRepository; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  81.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)
  82.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  83.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  84.     ... 71 more
  85. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'assignmentRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  86.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
  87.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
  88.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  89.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
  90.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  91.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
  92.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
  93.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1145)
  94.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1069)
  95.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:967)
  96.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)
  97.     ... 73 more
  98. Caused by: java.lang.IllegalArgumentException: Not an managed type: class com.mihaib.springmvc.entities.Assignment
  99.     at org.hibernate.jpa.internal.metamodel.MetamodelImpl.managedType(MetamodelImpl.java:219)
Add Comment
Please, Sign In to add comment