自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 validator之HTTP Status 500 Servlet.init() for servlet springmvc threw exception

type Exception reportmessage Servlet.init() for servlet springmvc threw exceptiondescription The server encountered an internal error that prevented it from fulfilling this request.exceptionjavax.serv...

2018-04-27 10:22:23 619

翻译 validator验证

1、validation在springmvc中的配置信息如下<!--配置校验器--> <bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"> <!--hibernate--> ...

2018-04-26 14:27:32 556

原创 jsp 不配置jstl不显示数据

1、spring+springmvc+mybatis,从数据库查询数据,若jsp页面无jstl的配置,页面中不显示数据<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>2、页面中不显示从数据库中查询到的数据...

2018-04-15 13:33:08 1194

原创 jslt官网下载方法

学习spring+springmvc+mybatis时,下载jstl包百度了好久也没找到完整的下载方法,在官网一顿乱找后,终于找到了地方。现记录下来,以免忘记。1、打开此地址:http://attic.apache.org/projects/jakarta-taglibs.html(从官网怎么找到这的已记不清~~),选中标红处2、选中如下图中 标红处3、4、按照日期排序,选中最高版本...

2018-04-15 00:04:46 3208

原创 springmvc+spring+mybatis整个启动tomcat报错

/Users/yp-tc-m-2935/Downloads/apache-tomcat-8.0.26/bin/catalina.sh run[2018-04-12 09:53:50,895] Artifact ssm:war exploded: Server is not connected. Deploy is not available.Connected to the target VM, ...

2018-04-12 10:33:42 1946

转载 springmvc mvc:annotation-drvien 配置有误

遇到的问题如图查询原因为,原文请看,https://blog.csdn.net/tonytfjing/article/details/38979677

2018-04-10 22:36:06 246

原创 db2的驱动程序为db2jcc4-1.6.0_97.jar和db2jcc_license_cu-1.4.2_9.7.jar

db2的驱动程序为db2jcc4-1.6.0_97.jar和db2jcc_license_cu-1.4.2_9.7.jar

2018-04-08 22:57:47 4888 4

原创 java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet

2018-04-05 22:17:18 111

原创 web配置文件字体为红色

web.xml servlet-name字体为红色解决办法  给你的project添加新的modules,类型选择web,指定web resources directories和Deployment Descriptions即可。

2018-04-05 21:39:18 1776

原创 HttpServletRequest 在tomcat目录下的lib文件下的jar包中

HttpServletRequest 在tomcat目录下的lib文件下的jar包中

2018-04-05 17:49:57 2205

原创 mybatis和spring整合之dao方法和mapper代理开发方法之记录

1、beans.xml测试类:

2018-04-03 16:15:24 123

原创 mybatis和spring整合mapper代理方法之问题3

四月 03, 2018 10:47:40 上午 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions信息: Loading XML bean definitions from class path resource [mybatisAndSpring/springConfig/beans....

2018-04-03 10:59:14 225

原创 mybatis和spring整合之method代理方式之记录

1、bean.xml配置文件<!--mapper配置创建数据映射器,数据映射器必须为接口 --><bean id="mybatisMapper" class="org.mybatis.spring.mapper.MapperFactoryBean"> <property name="mapperInterface" value="mybatis.myb.

2018-04-02 23:38:39 101

原创 mybatis-spring整合之原始dao方法之记录

1、beans.xml<?xml version="1.0" encoding="UTF-8"?><!--suppress ALL --><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst.

2018-04-02 22:50:54 150

原创 spring配置之问题2

 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in...

2018-04-02 22:39:42 163

转载 spring配置之问题1

转载:https://zhidao.baidu.com/question/1110265330828687299.htmlcom.intellij.rt.execution.application.AppMain com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 mybatis.mybatisAndSpring.test四月 02,...

2018-04-02 22:16:06 801

原创 mybatis sqlMapperConfig

<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE configuration PUBLIC "-//ibatis.apache.org//DTD Config 3.0//EN" "http://ibatis.apache.org/dtd/ibatis-...

2018-04-02 14:03:32 266

原创 spring 中dataSource配置

1、Spring配置文件中:<context:property-placeholder location="db.properties"/<bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"> <property name="driverClassName" value=&quo

2018-04-02 11:33:24 306

原创 commons-pool.jar 和commons-dbcp.jar 下载地址

http://commons.apache.org/proper/commons-dbcp/download_dbcp.cgihttp://commons.apache.org/proper/commons-pool/download_pool.cgi

2018-04-02 11:17:25 11722 6

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除