Всем привет. Имеется конфигурация спринга XML + Annotation.
Код | @Configuration @ComponentScan(basePackages = "com.core") @ImportResource("classpath:app-api-conf.xml") public class SpringConfiguration { ... }
|
и
Код | <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:metrics="http://www.yammer.com/schema/metrics" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.yammer.com/schema/metrics http://www.yammer.com/schema/metrics/metrics.xsd">
<metrics:annotation-driven proxy-target-class="true" />
</beans>
|
При создании бинов сыпится следующие:
Код | [26.04.2013 19:30:43.054] INFO [] o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [app-api-conf.xml] [26.04.2013 19:30:43.099] INFO [] o.s.c.a.AnnotationConfigApplicationContext - Bean 'com.yammer.metrics.Metrics#0' of type [class com.yammer.metrics.core.MetricsRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [26.04.2013 19:30:43.103] INFO [] o.s.c.a.AnnotationConfigApplicationContext - Bean 'com.yammer.metrics.HealthChecks#0' of type [class com.yammer.metrics.core.HealthCheckRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) [26.04.2013 19:30:43.123] INFO [] o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7f0dd76d: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor, org.springframework.context.annotation.internalAutowiredAnnotationProcessor, org.springframework.context.annotation.internalRequiredAnnotationProcessor, org.springframework.context.annotation.internalCommonAnnotationProcessor,springConfiguration,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor, mongoHealthCheck,redisHealthCheck,rabbitMqMessageListener,rabbitMqSender,redis,redisConnector,entryPointResource,jedis,connectionFactoryFc, rabbitTemplate,rabbitTemplateFc,listenerContainer,unloadingListener,amqpAdmin,localValidatorFactoryBean, jedisPool,jedisPoolConfig,connectionFactory,com.yammer.metrics.Metrics#0,com.yammer.metrics.HealthChecks#0, com.ryantenney.metrics.spring.ExceptionMeteredAnnotationBeanPostProcessor#0,com.ryantenney.metrics.spring.MeteredAnnotationBeanPostProcessor#0, com.ryantenney.metrics.spring.TimedAnnotationBeanPostProcessor#0, com.ryantenney.metrics.spring.GaugeAnnotationBeanPostProcessor#0, com.ryantenney.metrics.spring.HealthCheckBeanPostProcessor#0]; root of factory hierarchy [26.04.2013 19:30:43.174] INFO [] o.s.c.a.AnnotationConfigApplicationContext - Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@a8c337c: startup date [Fri Apr 26 19:30:43 EEST 2013]; root of context hierarchy [26.04.2013 19:30:43.397] INFO [] o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [app-api-conf.xml] [26.04.2013 19:30:43.445] INFO [] o.s.c.a.AnnotationConfigApplicationContext - Bean 'com.yammer.metrics.Metrics#0' of type [class com.yammer.metrics.core.MetricsRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
Гуглил по данному исключению, ничего подходящего не нашел ... в чем может быть проблема ? |