Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep

body
{
font-family: "Microsoft YaHei UI","Microsoft YaHei",SimSun,"Segoe UI",Tahoma,Helvetica,Sans-Serif,"Microsoft YaHei", Georgia,Helvetica,Arial,sans-serif,宋体, PMingLiU,serif;
font-size: 10.5pt;
line-height: 1.5;
}
html, body
{

}
h1 {
font-size:1.5em;
font-weight:bold;
}
h2 {
font-size:1.4em;
font-weight:bold;
}
h3 {
font-size:1.3em;
font-weight:bold;
}
h4 {
font-size:1.2em;
font-weight:bold;
}
h5 {
font-size:1.1em;
font-weight:bold;
}
h6 {
font-size:1.0em;
font-weight:bold;
}
img {
border:0;
max-width: 100%;
}
blockquote {
margin-top:0px;
margin-bottom:0px;
}

Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep严
重: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener?

org.springframework.beans.factory.BeanCreationException:
Error creating bean with name ‘sqlSessionFactory‘ defined in class
path resource [applicationContext.xml]: Initialization of bean failed;
nested exception is
java.lang.reflect.MalformedParameterizedTypeException?

原来是spring版本的问题,MyBatis-Spring只能在spring3.0版本上使用,如果用spring3.0以下版本就会出现该问题,建议将spring升级为3.0或改用ibatis2.0!

来自为知笔记(Wiz)

Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep

时间: 2024-07-31 22:47:42

Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeExcep的相关文章

Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V

启动web应用时出现以下异常: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(A

spring Boot启动报错Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotatedElementUtils.getAnnotationAttributes

spring boot 启动报错如下 org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure

Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type

问题描述 将项目挂载到 Myeclipse 的 tomcat 上,启动 tomcat ,报错"Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: org/objectweb/asm/Type" 问题原因 缺少 jar 包 解决方案 第一种方案: 1.将需要的第三方包拷贝进libs 文件夹. 2.将引用的第三方包,添加进工作的build path -->工程上右键 --

Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/jms/JMSContext

参考链接 : https://blog.csdn.net/angus_Lucky/article/details/82811946?utm_source=blogxgwz7 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionFactory' defined in class path resource [spring/applicationContex

spring quartz:Instantiation of bean failed; nested exception is java.lang.IncompatibleClassChangeErr

spring 调度类初始化失败,分析是jar包冲突,日志如下: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in file [D:\InstallApplication\apache-tomcat-7.0.23\wtpwebapps\campaign\WEB-INF\classes\spring\applicationConte

项目启动时报错Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError

https://www.cnblogs.com/liuyp-ken/p/7911536.html 解决过程: 1.检查配置,反反复复看了很多遍,确认没有问题. 2. 网上找了很多资料,类似的问题很多,看过答案以后依旧不得其要领.只好继续看报错代码,直到看到这一句: 1 2 3 4 Caused by: java.lang.NullPointerException     at ***.***.SearchIPAttributionService.load(SearchIPAttributionS

HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException

type Exception report message Request processing failed; nested exception is java.lang.NullPointerException description The server encountered an internal error that prevented it from fulfilling this request. exception org.springframework.web.util.Ne

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen

HTTP Status 500 - Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen space 发生此问题的环境信息: 系统:CentOS 6.5 Tomcat:Tomcat 7.0.6 PermGen space PermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen sp

异常:Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException

这个异常是出现在注入配置文件中配置好的属性时报错的: Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'my.name' in value "${my.name}" 此时配置文件默认的名称为:application.properties 解决方法: 将配置文件名改为:appli