使用Maven构建SSM时, 需要在pom.xml中配置一些信息, 否则mapper.xml就无法被扫描到, 程序就会抛invalid bound statement (not found)异常 解决办法: 将下面配置添加到pom.xml文件中 ...
分类:
其他好文 时间:
2018-09-04 13:45:36
阅读次数:
199
将一个类的函数定义成特性以后,对象再去使用的时候obj.name,根本无法察觉自己的name是执行了一个函数然后计算出来的,这种特性的使用方式遵循了统一访问的原则 # 例一:BMI指数(bmi是计算而来的,但很明显它听起来像是一个属性而非方法,如果我们将其做成一个属性,更便于理解) # # 成人的B... ...
分类:
其他好文 时间:
2018-09-04 01:49:21
阅读次数:
127
Java代码 Java代码 (2)第二个 Java代码 package com.sunrex.demo02; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.M ...
分类:
其他好文 时间:
2018-09-03 19:24:18
阅读次数:
172
common-logging.jar包下载地址及步骤 http://commons.apache.org/proper/commons-logging/download_logging.cgi ...
分类:
编程语言 时间:
2018-09-03 14:59:37
阅读次数:
1999
1、异步消息 当一个消息发送时候,消息会被交给消息代理,消息代理可以确保消息被发送到指定的目的地,同时解放发送者,使其能够继续进行其它业务。消息代理通常有ActiveMQ、RabbitMQ...,目的地通常有队列和主题,队列采用点对点的模型,主题采用发布订阅模型 点对点模型:消息队列可以有多个接受者 ...
分类:
编程语言 时间:
2018-09-02 23:41:18
阅读次数:
198
基本环境搭建环境 1.web.xml 2.WebContent下WEN-INF设置 3.配置文件 application-dao.xml application-service.xml application-transxml application-controller.xml crm.prope ...
分类:
其他好文 时间:
2018-09-02 02:12:50
阅读次数:
264
一、SpringBoot2.x使用Dev-tool热部署简介:介绍什么是热部署,使用springboot结合dev-tool工具,快速加载启动应用官方地址:https://docs.spring.io/spring-boot/docs/2.1.0.BUILD-SNAPSHOT/reference/htmlsingle/#using-boot-devtools核心依赖包:<dependency
分类:
编程语言 时间:
2018-09-01 23:47:07
阅读次数:
252
第一步[root@zw-pressure-1bin]#vijmeter第二步[root@zw-pressure-1bin]#vijmeter-server第三步[root@zw-pressure-1bin]#vijmeter.properties
分类:
系统相关 时间:
2018-08-31 17:05:41
阅读次数:
157
spring部分:applicationContext.xml文件配置 1.配置数据源 dataSource <!-- 配置数据源 --> <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDa ...
分类:
编程语言 时间:
2018-08-31 01:24:25
阅读次数:
190
说明:{Binding ElementName=grid0, Path=Height} ElementName=grid0:查找到名为grid0的控件。 , Path=Height:获取名为grid0的控件的Height属性值。 即:将Lb1的属性值设置为grid0控件的Height属性设置值。 ...