随笔分类 - 校园商铺项目
MyBatisSystemException:No setter found for the keyProperty 'shopId ' in com.imooc.o2o.entity.Shop
摘要:mybatis 异常,提示在实体类中找不到该字符的setter方法,一直在找实体方法的错,结果是keyProperty值,shopId双引号内多了个括号。 总结:keyProperty="shopId"< >keyProperty="shopId " 看出差别了吗? 在双引号内,在编程语言中,空格也
阅读全文
MAVEN本地仓库配置文件setting.xml修改后不生效的问题/两方面分析原因
摘要:我们复制过来的路径是反斜杠< \ >反斜杠在windows系统中表示目录。 xml文件中用的全是顺斜杠, </> 在URL中 ,XML文件中都是用斜杠 这就是我们复制粘贴路径不生效的原因之1 我们既然setting文件修改好了就要在eclipse客户端中进行修改 Global setting 就是我
阅读全文
pom.xml中配置阿里云镜像
摘要:<repositories> <repository> <id>nexus-aliyun</id> <name>nexus-aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <releases>
阅读全文
阿里云MAVEN镜像仓库----------》彻底解决maven下载慢的问题
摘要:最近在接触Spring的时候经常从网上下载开源项目,但是每次构建都太慢了,刚开始我是直接挂机等待自动下载,有时候一晚上都无法下载完成,于是改为手动下载jar包,也就是从http://maven.aliyun.com/nexus/content/repositories/central/,或者http
阅读全文
学习logback配置的验证学到了哪些东西?
摘要:1.logback是什么? Logback是由log4j创始人设计的另一个开源日志组件,官方网站: http://logback.qos.ch。 logback-core:其它两个模块的基础模块 logback-classic:它是log4j的一个改良版本,同时它完整实现了slf4j API使你可以
阅读全文
logback.xml
摘要:<?xml version="1.0" encoding="UTF-8"?><configuration scan="true" scanPeriod="60 seconds" debug="false"> <!-- 定义参数常量 --> <!-- TRACE<DEBUG<INFO<WARN<ERR
阅读全文
404错误与spring-web.xml的关系
摘要:现在是正常情况,能访问网页 现在情况又要报404错误,网页无法访问 以上一行程序该如何理解???????? 扫描存放控制器的包 在 Spring 中,构成应用程序主干并由Spring IoC容器管理的对象称为bean。bean是一个由Spring IoC容器实例化、组装和管理的对象 bean是对象,
阅读全文
部署tomcat时浏览器500报错
摘要:两个图片方式应该都可以的 把jackson-databind固定的版本,改成RELEASE版本就能解决问题 问题来了 问题1:jackson-databind是什么,有什么作用? Jackson框架是基于Java平台的一套数据处理工具,被称为“最好的Java Json解析器”。 jackson-da
阅读全文
无法找到对应的bean
摘要:CONSOLE报如下错误: 解决办法:我的问题是方法2解决的
阅读全文
web.xml
摘要:<?xml version="1.0" encoding="UTF-8"?><web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in
阅读全文
jdbc.properties/(驱动、URL、用户名、密码)跟换数据库时改该配置文件/Untitled Text File格式
摘要:jdbc.driver=com.mysql.cj.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/o2o?useUnicode=true&characterEncoding=utf8&useSSL=true&serverTimezone=UTCjdbc
阅读全文
pom.xml/对象模型(Project Object Model)的简称
摘要:1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.o
阅读全文
阿里云镜像地址,在maven的setting和pom.xml里添加方法/解决从maven中央仓库下载速度极慢的问题
摘要:在maven里面添加 <mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>ce
阅读全文
配置spring-web.xml文件时报错时
摘要:错误提示:cvc-complex-type.2.3: Element 'beans' cannot have character [children], because the type's content type is element-only 最终的解决办法:把有红叉的地方手写一边然后就好了,
阅读全文
web.xml将各种配置整合到一起
摘要:1 <web-app version="3.1" 2 xmlns="http://xmlns.jcp.org/xml/ns/javaee" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="ht
阅读全文
spring-web.xml的配置方式
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
spring-servic.xml/
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
spring dao的相关配置
摘要:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
Mybatis-config.xml
摘要:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dt
阅读全文
搭建SSM(Spring+SpringMVC+MyBatis)框架要用到的基本JAR包
摘要:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P
阅读全文
浙公网安备 33010602011771号