org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarker' defined in file [D:\newWork\jeewx\target\classes\spring-mvc-cgform.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods

jeecg.org | 3 months ago
  1. 0

    JEECG官方网站-JAVA快速开发平台

    jeecg.org | 3 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarker' defined in file [D:\newWork\jeewx\target\classes\spring-mvc-cgform.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
  2. 0

    type mismatch between read and write methods wildfly 9.0.0

    Stack Overflow | 9 months ago | gogoru
    java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cFilter': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.service.ResidentService com.security.CustomFilter.residentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'residentService' defined in "/C:/Program Files/WildFly/wildfly-9.0.0.Final/standalone/deployments/ws.war/WEB-INF/classes/com/service/ResidentServiceImpl.class": Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [com.service.ResidentServiceImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
  3. 0

    Issue 35 - interproscan - [interhelp #15566] problems with running interproscan - Scans a range of protein signatures against your sequence - Google Project Hosting

    google.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Cannot resolve reference to bean 'freeMarkerConfigHtmlWriter' while setting bean property 'freeMarkerConfig'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freeMarkerConfigHtmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 70 - interproscan - [interhelp #48292] launcher does not find properties correctly - Scans a range of protein signatures against your sequence - Google Project Hosting

    google.com | 11 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Cannot resolve reference to bean 'freeMarkerConfigHtmlWriter' while setting bean property 'freeMarkerConfig'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freeMarkerConfigHtmlWriter' defined in class path resource [spring/jobs/outputWriter/html/htmlWriter-context.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
  6. 0

    Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods {code} Exception in thread "main" java.lang.ExceptionInInitializerError [java] at org.apache.ctakes.ytex.tools.SetupAuiFirstWord.setupAuiFirstWord(SetupAuiFirstWord.java:190) [java] at org.apache.ctakes.ytex.tools.SetupAuiFirstWord.main(SetupAuiFirstWord.java:186) [java] Caused by: org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:org/apache/ctakes/ytex/kernelBeanRefContext.xml], factory key [kernelApplicationContext]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kernelApplicationContext' defined in URL [jar:file:/media/nino/Dati/apache-ctakes-3.2.0/lib/ctakes-ytex-web-3.2.0-classes.jar!/org/apache/ctakes/ytex/kernelBeanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gramMatrixExporter' defined in class path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods [java] at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386) [java] at org.apache.ctakes.ytex.kernel.KernelContextHolder.<clinit>(KernelContextHolder.java:28) [java] ... 2 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kernelApplicationContext' defined in URL [jar:file:/media/nino/Dati/apache-ctakes-3.2.0/lib/ctakes-ytex-web-3.2.0-classes.jar!/org/apache/ctakes/ytex/kernelBeanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gramMatrixExporter' defined in class path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods [java] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) [java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) [java] at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition(ContextSingletonBeanFactoryLocator.java:143) [java] at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:381) [java] ... 3 more [java] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gramMatrixExporter' defined in class path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162) [java] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:110) [java] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) [java] ... 16 more [java] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gramMatrixExporter' defined in class path resource [org/apache/ctakes/ytex/beans-kernel.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [java] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [java] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [java] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [java] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) [java] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [java] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) [java] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) [java] at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:408) [java] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) [java] ... 18 more [java] Caused by: org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [org.apache.ctakes.ytex.weka.GramMatrixExporterImpl]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods [java] at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262) [java] at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149) [java] at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324) [java] at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:331) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1242) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101) [java] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [java] ... 33 more [java] Caused by: java.beans.IntrospectionException: type mismatch between read and write methods [java] at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:659) [java] at java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:256) [java] at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:282) [java] at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:180) [java] at org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:100) [java] at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:224) [java] ... 39 more {code}

    Apache's JIRA Issue Tracker | 2 years ago | vijay
    java.lang.ExceptionInInitializerError

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.beans.IntrospectionException

      type mismatch between read and write methods

      at java.beans.PropertyDescriptor.findPropertyType()
    2. Java RT
      PropertyDescriptor.setReadMethod
      1. java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:659)
      2. java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:256)
      2 frames
    3. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:282)
      2. org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:180)
      3. org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:100)
      4. org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:224)
      5. org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
      6. org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
      7. org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:331)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1242)
      9. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      12. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
      13. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
      14. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
      15. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      16. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      16 frames
    4. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
      2 frames
    5. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
      3 frames
    6. Jetty Server
      WebAppContext.doStart
      1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:549)
      2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
      3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
      4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
      5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
      5 frames
    7. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    8. Jetty Server
      Server.doStart
      1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
      2. org.mortbay.jetty.Server.doStart(Server.java:224)
      2 frames
    9. Jetty Util
      AbstractLifeCycle.start
      1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      1 frame
    10. runjettyrun
      Bootstrap.main
      1. runjettyrun.Bootstrap.main(Bootstrap.java:97)
      1 frame