Spring+SpringMVC+Mybatis,项目实战
后台技术汇
强大自己是解决问题的唯一办法。
展开
-
(2)java对XML文件的调用
(2)java对XML文件的调用原创 2017-12-01 19:09:35 · 1020 阅读 · 0 评论 -
mybatis(3):外部配置文件(.properties)的引入 + XML语法限制文件(.dtd)的引入
mybatis(3):外部配置文件(.properties)的引入 + XML语法限制文件(.dtd)的引入原创 2017-12-10 17:11:54 · 1867 阅读 · 0 评论 -
mybatis(4):增删改查(insert+select+update+delete)(上集)
mybatis(4):增删改查(insert+select+update+delete)(上集)原创 2017-12-10 17:23:13 · 281 阅读 · 0 评论 -
maven(1):使用 eclipse 构建maven web项目
maven(1):使用 eclipse 构建maven web项目转载 2017-12-10 18:40:36 · 168 阅读 · 0 评论 -
Mybatis(5):使用sql映射文件,将返回结果封装为ResulMap
Mybatis(5):将返回结果封装为ResulMap原创 2017-12-17 11:14:01 · 1555 阅读 · 2 评论 -
Mybatis(4):映射文件与接口代码的传参,使用@Param 注解用法
Mybatis(4):映射文件与接口代码的传参,使用@Param 注解用法原创 2017-12-17 11:08:53 · 2025 阅读 · 3 评论 -
SpringMVC(1):基础配置文件web.xml 和 <servlet-name>-servlet.xml / springmvc.xml
SpringMVC(1):基础配置文件web.xml 和 <servlet-name>-servlet.xml / springmvc.xml原创 2017-12-12 12:24:13 · 7537 阅读 · 0 评论 -
Mybatis(6):返回结果封装ResulMap的高级属性--association标签
Mybatis(6):返回结果封装ResulMap的高级属性--association标签原创 2017-12-17 18:35:21 · 307 阅读 · 0 评论 -
Mybatis(7):返回结果封装ResulMap的高级属性--Collection标签
Mybatis(7):返回结果封装ResulMap的高级属性--Collection标签原创 2017-12-17 18:36:13 · 606 阅读 · 0 评论 -
Spring(1):配置文件(IOC)与Annotation的使用(上集)
Spring(1):配置文件(IOC)与Annotation的使用(上集)原创 2017-12-12 21:54:58 · 208 阅读 · 0 评论 -
SpringMVC(9):JSP报错:#{...} is not allowed in template text
SpringMVC(9):JSP报错:#{...} is not allowed in template text转载 2017-12-12 23:33:32 · 518 阅读 · 0 评论 -
<转载>eclipse:更改tomcat端口号方法
<转载>eclipse:更改tomcat端口号方法转载 2017-12-04 18:18:53 · 1142 阅读 · 0 评论 -
<转载>web开发--helloworld
<转载>web开发--helloworld转载 2017-12-04 20:50:15 · 199 阅读 · 0 评论 -
Spring MVC学习笔记:web.xml中load-on-startup的作用
Spring MVC学习笔记:web.xml中load-on-startup的作用转载 2017-12-04 22:31:45 · 1001 阅读 · 0 评论 -
springmvc(5):小结,通过map数据模型传递数据展示一个表
springmvc(5):小结,通过map数据模型传递数据展示一个表原创 2017-12-14 12:42:00 · 229 阅读 · 0 评论 -
Mybatis(7):将传参封装为Map进行传递
四部曲:1.写接口 + 2.写映射sql + 3.把mapper注册到mybatis的配置文件 + 4.写单元测试和运行(1)首先新建一个User.java文件,作为这次的实体类,注意一定要有setter方法(mybatis通过setter访问器进行读取):package com.smbms.entities;import java.util.Date;im...原创 2017-12-20 09:45:18 · 981 阅读 · 2 评论 -
Spring(6):AOP概念解释与小示例
Spring(6):AOP概念解释与小示例原创 2017-12-19 09:34:06 · 189 阅读 · 0 评论 -
FAQ(22):java.lang.ClassCastException: com.sun.proxy.$Proxy7 cannot be cast to com.spring.Helloworld1
FAQ(22):java.lang.ClassCastException: com.sun.proxy.$Proxy7 cannot be cast to com.spring.Helloworld1原创 2017-12-24 22:18:35 · 358 阅读 · 0 评论 -
(6)MyBatis小总结:一个简单的例子--接口编程改进
(6)MyBatis小总结:一个简单的例子--接口编程改进原创 2017-12-06 22:53:57 · 229 阅读 · 0 评论 -
FAQ(6):configuration写错 + <properties>标签没补全
FAQ(6):configuration写错 + <properties>标签没补全原创 2017-12-10 13:21:07 · 181 阅读 · 0 评论 -
FAQ(8):spring:遗漏编写bean的无参构造函数
FAQ(8):spring:遗漏编写bean的无参构造函数原创 2017-12-12 22:41:32 · 560 阅读 · 0 评论 -
FAQ(7):IOException parsing XML document from ServletContext resource [/calsspath:springmvc.xml];
FAQ(7):IOException parsing XML document from ServletContext resource [/calsspath:springmvc.xml];原创 2017-12-12 11:30:12 · 3358 阅读 · 0 评论 -
FAQ(5):conf文件夹的mybatis-config.xml找不到,报错Could not find resource config/myBatis-config.xml
FAQ(5):conf文件夹的mybatis-config.xml找不到,报错Could not find resource config/myBatis-config.xml原创 2017-12-10 11:41:58 · 2701 阅读 · 1 评论 -
FAQ(4):javaee使用mybatis,org.apache.ibatis.io.Resources报错
FAQ(4):javaee使用mybatis,org.apache.ibatis.io.Resources报错原创 2017-12-10 11:11:46 · 10887 阅读 · 7 评论 -
FAQ(4):Attribute "resource" must be declared for element type "mapper".
FAQ(4):Attribute "resource" must be declared for element type "mapper".转载 2017-12-08 21:42:06 · 2131 阅读 · 0 评论 -
SpringMVC-FAQ(3):<转载>jsp文件--Multiple annotations found at this line 解决
SpringMVC-FAQ(3):<转载>jsp文件--Multiple annotations found at this line 解决原创 2017-12-08 10:27:48 · 555 阅读 · 0 评论 -
SpringMVC-FAQ(1):HTTP Status 500 - Servlet.init() for servlet DispatcherServlet threw exception
SpringMVC-FAQ(1):HTTP Status 500 - Servlet.init() for servlet DispatcherServlet threw exception原创 2017-12-05 13:06:32 · 8278 阅读 · 5 评论 -
SpringMVC-FAQ(2):java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapa
SpringMVC-FAQ(2):java.lang.NoClassDefFoundError: org/springframework/core/env/EnvironmentCapa原创 2017-12-05 11:24:32 · 4605 阅读 · 0 评论 -
<转载>eclipse:调试之tomcat服务器端口被进程占用,导致eclipse无法调试
<转载>eclipse:调试之tomcat服务器端口被进程占用,导致eclipse无法调试转载 2017-12-04 18:16:08 · 750 阅读 · 0 评论 -
FAQ(7):Server Tomcat v8.0 Server at localhost failed to start.
FAQ(7):Server Tomcat v8.0 Server at localhost failed to start.原创 2017-12-16 09:49:23 · 452 阅读 · 0 评论 -
FAQ(9):org.apache.ibatis.binding.BindingException: Type interface com.smbms.dao.UserMapper is not kn
FAQ(9):org.apache.ibatis.binding.BindingException: Type interface com.smbms.dao.UserMapper is not kn原创 2017-12-16 09:52:52 · 2514 阅读 · 1 评论 -
FAQ(11):Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot
FAQ(11):Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot原创 2017-12-16 10:00:57 · 3027 阅读 · 0 评论 -
FAQ(10):Type interface com.smbms.dao.UserMapper is not known to the MapperRegistry.
FAQ(10):Type interface com.smbms.dao.UserMapper is not known to the MapperRegistry.原创 2017-12-16 10:01:09 · 1931 阅读 · 0 评论 -
FAQ(12):Error querying database. Cause: java.sql.SQLException
FAQ(12):Error querying database. Cause: java.sql.SQLException原创 2017-12-16 10:04:48 · 5078 阅读 · 0 评论 -
FAQ(13):Access denied for user ''@'localhost' to database 'localhost:3306//test'
FAQ(13):Access denied for user ''@'localhost' to database 'localhost:3306//test'原创 2017-12-16 10:07:33 · 544 阅读 · 0 评论 -
FAQ(14):Could not find result map com.smbms.entities.User
FAQ(7):Could not find result map com.smbms.entities.User原创 2017-12-16 10:10:43 · 316 阅读 · 0 评论 -
FAQ(14):Type interface com.test.dianzi.dao.spare_partsDao is not known to the MapperRegistry.
FAQ(14):Type interface com.test.dianzi.dao.spare_partsDao is not known to the MapperRegistry.原创 2017-12-16 17:10:49 · 221 阅读 · 0 评论 -
(5)MyBatis小总结:一个简单的例子
(5)MyBatis小总结:一个简单的例子原创 2017-12-06 20:50:13 · 238 阅读 · 0 评论 -
Spring MVC学习笔记:helloworld的实现+@RequestMapping 的使用(上集)
Spring MVC学习笔记:helloworld的实现+@RequestMapping 的使用(上集)原创 2017-12-05 20:27:52 · 524 阅读 · 0 评论 -
保持初心,继续出发(写于坚持的第3个月)
保持初心,继续出发(写于坚持的第3个月)原创 2017-12-30 17:47:55 · 213 阅读 · 0 评论