博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
java ssm 异常分类_SSM项目常见的异常与处理提示(一)
阅读量:1539 次
发布时间:2019-04-21

本文共 923 字,大约阅读时间需要 3 分钟。

1.常见bean name创建出现问题

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'student03' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is java.lang.IllegalStateException: No bean class specified on bean definition

xml的property和class不一致

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 73 in XML document from class path resource [applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 73; columnNumber: 13;

xml没有配置name

2.web.xml无法加载配置文件

java.io.FileNotFoundException: ServletContext resource [/spring/] cannot be resolved to URL because it does not exist

param-value名字不一致

如果出现类似问题,可以查看配置文件的名字,路径,或者class类是否正确

3.文件上传解析器配置出现问题

No mapping found for HTTP request with URI [/hello-springmvc-config/%7BpageContext.request.contextPath%7D/test01.html] in DispatcherServlet

转载地址:http://kfldy.baihongyu.com/

你可能感兴趣的文章
CDS – One Concept, Two Flavors
查看>>
SAP Development Tools
查看>>
ABAP算术运算函数
查看>>
用新语法写更简洁的ABAP代码
查看>>
ABAP类的方法
查看>>
SAP用户增强总结-采购订单建立增加客户数据增强示例
查看>>
物料帐结算,库存差异为何在下月初冲回
查看>>
SAP中创建分部机构凭证号码并且按年度编号
查看>>
BUUCTF [极客大挑战 2019] BuyFlag
查看>>
BUUCTF [极客大挑战 2019] Secret File
查看>>
个人博客项目之editormd实现写文章功能
查看>>
设计模式之组合模式(结构型)
查看>>
Oracle ORA-01460报错解决方法
查看>>
smartGit系列之长期使用批处理脚本
查看>>
设计模式之代理模式(结构型)
查看>>
Oracle SQL调优系列之sql共享池
查看>>
个人博客项目之editormd实现文章详情页面预览
查看>>
SpringBoot系列之集成logback实现日志打印
查看>>
SpringBoot系列之Mybatis集成搭建
查看>>
SpringBoot系列之集成Thymeleaf模板引擎
查看>>