brand-demo运行报错
作者:互联网
运行报错
HTTP Status 500 - /brand.jsp (line: 2, column: 62) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/maven_repository/taglibs/standard/1.1.2/standard-1.1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
解决:在pom.xml文件中,jsp依赖加上scope标签
<scope>provided</scope>
品牌名称 企业名称 没有数据
原因:对应实体类的属性名称和数据库字段名称不一致
解决:使用ResultMap映射:
1,在BrandMapper.xml中添加映射
2,在BrandMapper接口中使用注释
标签:xml,BrandMapper,1.1,demo,brand,standard,报错,file 来源: https://www.cnblogs.com/Crazychicken/p/16515348.html