
ssm
醇醛酸酯
这个作者很懒,什么都没留下…
展开
-
java.lang.NoClassDefFoundError: org/springframework/core/io/Resource
严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.NoClassDefFoundError: org/springframework/core/io/Resource at java.lang.Class.getDe原创 2018-02-05 09:56:18 · 7421 阅读 · 0 评论 -
druid连接池的超时回收机制
<!-- 打开removeAbandoned功能 --> <property name="removeAbandoned" value="true" /> <!-- 1800秒,也就是30分钟 --> <property name="removeAbandonedTimeout" value="1800" /&g原创 2018-04-09 10:17:06 · 13978 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
错误:二月 05, 2018 9:50:15 上午 org.apache.catalina.core.StandardContext listenerStart严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang原创 2018-02-05 10:21:37 · 201 阅读 · 0 评论 -
Springboot 使用RestTemplate
最近项目中springboot使用了RestTemplate,在此了解和学习了一下,有问题请指正1、先学习最简单的使用创建RestTemplatepublic static RestTemplate restTemplate() { SimpleClientHttpRequestFactory requestFactory = new SimpleClientHttpRequestFactory(); requestFactory.setConnectTime.原创 2020-11-30 15:05:01 · 36579 阅读 · 1 评论 -
SSH整合之Spring版本与jdk版本问题
异常如下:二月 09, 2018 3:56:00 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.Context...原创 2018-02-09 16:17:00 · 1224 阅读 · 0 评论 -
SSH整合问题Spring版本问题
异常如下:二月 09, 2018 2:05:03 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.Context...原创 2018-02-09 15:29:13 · 388 阅读 · 0 评论 -
org.apache.ibatis.type.TypeException: Could not resolve type alias 'xxxx'异常
异常:二月 06, 2018 3:33:44 下午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.Context原创 2018-02-07 10:24:05 · 6830 阅读 · 1 评论 -
Could not resolve resource location pattern [classpath:com.zjht.goodspeakerapph5/mapper/*.xml]
错误:二月 05, 2018 10:38:35 上午 org.apache.catalina.core.StandardContext listenerStart严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.Cont原创 2018-02-05 11:16:40 · 2343 阅读 · 0 评论 -
java.lang.IllegalStateException: Optional int parameter 'id' is not present but cannot be translated
异常如下:Caused by: java.lang.IllegalStateException: Optional int parameter 'id' is not present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it ...原创 2018-06-08 18:43:13 · 17386 阅读 · 3 评论 -
eclipse工具 maven 整合ssm(五):运行项目
eclipse工具 maven 整合ssm(五):运行项目1.运行maven install:项目右键->Run As->Maven install控制台显示以下信息即为成功[INFO] Scanning for projects...[WARNING] [WARNING] Some problems were encountered while building the原创 2018-02-07 17:44:55 · 376 阅读 · 0 评论 -
eclipse工具 maven 整合ssm(二):pom.xml参数
eclipse工具 maven 整合ssm(二):pom.xml配置1.web项目pom.xml 的参数一般如下:<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven....原创 2018-02-07 16:16:56 · 452 阅读 · 0 评论 -
eclipse工具 maven 整合ssm(三):SSM配置
eclipse工具 maven 整合ssm(三):SSM配置在maven项目中,SSM的配置文件和不用maven工具时是一样的,配置文件放在src/main/resources文件夹下1.spring配置文件applicationContext.xml<beans xmlns="http://www.springframework.org/schema/beans"原创 2018-02-07 16:37:49 · 462 阅读 · 0 评论 -
eclipse工具 maven 整合ssm(四):写逻辑代码
eclipse工具 maven 整合ssm(四):写逻辑代码1.实体类package h5.model;public class Emp { private int empno; private String ename; private String job; public int getEmpno() { return empno; } public void原创 2018-02-07 17:01:07 · 301 阅读 · 0 评论 -
eclipse工具 maven 整合ssm(一):建maven项目
eclipse工具 maven 整合ssm(一):建maven项目1.File->New->Maven Project2.选择maven-archetype-webapp,点nextGroupId属性是一个组织或者项目(比如开源项目)的唯一ID,平时用的什么com开头的那些就是一般这个地方要填的东西了, 相当于一个组织。ArtifactId属性就是你所要构建原创 2018-02-07 14:40:20 · 207 阅读 · 0 评论