自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 资源 (4)
  • 收藏
  • 关注

原创 ORACLE 两个数据可同步问题之创建dblink(方式为触发器_dbLink)

ORACLE 两个数据可同步问题之创建dblink(方式为触发器_dbLink)前期准备:数据库用户需要具备create dblink的权限;第一步创建dblink1:在目标数据库的tnsnames.ora 文件先添加xxxlink =(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx)(PORT = 1521))...

2019-09-19 16:51:00 688

原创 oracle 使用MyBatis查询 返回类型为int,但是当查询结果为空NULL,报异常的解决方法

org.apache.ibatis.binding.BindingException: Mapper method 'com.XXXXX' attempted toreturn null from a method with a primitive return type (int).<select id="selectPageviews" resultType="java.lang.I...

2018-12-20 15:32:05 1728

原创 java.lang.IllegalArgumentException: Request header is too large的解决方案

tomcat运行项目时,有一个请求过去后,后台报这样的错java.lang.IllegalArgumentException: Request header is too large 原因:请求头超过了tomcat的限值。本来post请求是没有参数大小限制,但是服务器有自己的默认大小。 解决: 处理办法:在server.xml中 <Connector connect...

2018-09-13 15:53:49 743

原创 springboot +阿里云 oss 报 RuntimeException: Unsupported algorithm: HmacSHA1

控制台报错信息解决方法:1:点击项目右键选择Properties 进入如下图:点击finish后,重启启动项目即可,使用。

2018-08-10 17:53:59 606

原创 mescroll.js+springmvc实现下拉加载数据及按条件查询

首先导入<link rel="stylesheet" href="/css/mescroll.min.css">及<script type="text/javascript" src="/js/mescroll.min.js"></script>页面如下<div class="search-bar clearfix&qu

2018-04-08 09:34:46 1661 1

原创 spring boot 热部署

spring boot 热部署方式:一种使用Spring loaded 实现,另一种使用spring-boot-devtools 实现使用Spring loaded实现方式:修改pom.xml如下:org.springframework.bootspring-boot-maven-pluginorg.springframeworkspringloaded

2017-11-17 09:20:30 234

原创 spring boot的发布方式

spring boot的发布方式:一种是以jar包的方式,一种是以war 包的方式发布以jar包的方式发布:以构建jar 包,命令行运行Spring boot程序的方式介绍1、pom.xml然后选择项目右键选择run as -->Maven install刷新target 后看到打包好的jar包,然后命令行进入项目所在目录的target下  输入命令 Java -j

2017-11-16 17:05:46 478

原创 WAMP不能启动, 一直处于红色图标或者橙色图标的解决办法

WAMP不能启动, 一直处于红色图标或者橙色图标的解决办法首先测试80端口是否占用,若被占用 修改wamp文件夹中的wamp\bin\apache\apache2.2.22\conf路径下的httpd.conf文件#Listen 12.34.56.78:80Listen 0.0.0.0:8080Listen [::0]:8080ServerName localhost:

2017-10-17 09:52:01 1888

转载 解决Invalid derived query! No property find found for type XX的问题

用sts +maven+spring boot 报Invalid derived query! No property find found for type XX的文件解决方法如下:window-->preference-->Spring -> Project Validators -> Data Validator -> Invalid Derived Query,去掉Invalid

2017-07-19 17:39:06 315

原创 overlaps the location of another project Zendstudio导入已经存在的目录

最近弄zendstuido导入已经存在的项目,找了很多地方终于找到了导入的方法,特别记录一下。一般情况下:如下图所示的 PHP Project from Existing Directory然后设定项目名称和项目路径若遇到overlaps the location of another project Zendstudio解决方法如下点击“File”-“NEW”-“

2017-07-16 15:07:30 547

原创 smarty 配置问题

smarty 配置问题 <?phprequire_once 'Smarty.class.php';$smarty = new Smarty();/** * Smarty 的配置口诀 */$smarty->left_delimiter = "{"; // 左定界$smarty->right_delimiter = "}"; // 右定界$smarty->template_dir =

2017-07-08 14:30:26 271

原创 wampserver 的Apache启动错误提示:The requested URL / was not found on this server

解决方法:检查Apache下的httpd.conf 的DocumentRoot 和Directory 的路径是的正确,  若路径正确;则查看httpd:conf 下的Include conf/extra/httpd-vhosts.conf 将Include conf/extra/httpd-vhosts.conf改为#Include conf/extra/httpd-vhosts.co

2017-06-15 16:09:36 68026 1

转载 &#65279; 非法字符 原因 以及解决办法

模板文件生成html文件之后会在body开头处加入一个可见的控制符&#65279,导致页面头部会出现一个空白行。原因是页面的编码是UTF-8 + BOM。    这种编码方式一般会在windows操作系统中出现,比如WINDOWS自带的记事本等软件,在保存一个以UTF-8编码的文件时,会在文件开始的地方插入三个不可见的字符(0xEF 0xBB 0xBF,即BOM)。它是一串隐藏的字符,用于

2017-06-13 16:06:46 7084 2

原创 org.apache.ibatis.binding.BindingException: Parameter 'List' not found. Available parameters are [l

springmvc +mybatis 批量插入时报一下问题代码如下xml配置如下:mybatis 文档描述的是List 将会被转为Map, 这里我转入collection=“List” 将被转换成 Map 文中我把list 写成了List收集了两种解决方案:方案一:collection="List" 改写为 colle

2017-03-16 13:57:06 6134

原创 springboot 启动时报错java.lang.NoSuchMethodError: org.apache.coyote.http11.AbstractHttp11Protocol.setComp

org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.coyote.http11.AbstractHttp11Protocol.setCompres

2016-11-21 10:29:46 16918 1

原创 myecplise 手动创建spring-boot 出现The superclass "javax.servlet.http.HttpServlet" was not found on the Jav

myecplise 中 spring-boot 项目创建时出现问题 点击index.jsp 如下报The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path解决方法如下:点击项目右键run as -->maven clean  然后 run as -->

2016-11-20 11:25:59 2194

原创 javax.servlet.ServletException: Circular view path [index]: would dispatch back to the current handl

经检查是我 springmvc 配置有问题import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.ComponentScan;import org.springframework.context.annotation.Configuration;

2016-11-17 15:36:34 13453

原创 Multiple annotations found at this line: - Plugin execution not covered by lifecycle configuration:

myecplise 创建maven +springmvc 中 Multiple annotations found at this line:- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-plugin:2.5:testResources (e

2016-11-17 14:20:22 15924 6

原创 maven+springmvc 中tomcat启动报java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMethod

maven+springmvc 中tomcat启动报java.lang.NoSuchMethodError: org.springframework.util.ClassUtils.getMethod 严重: StandardWrapper.Throwablejava.lang.NoSuchMethodError: org.springframework.util.ClassUti

2016-11-15 09:45:54 12076

原创 Location Type Project 'testma' is missing required source folder: 'src/test/resources' testma Build

myecplice 中报Location Type Project 'testma' is missing required source folder: 'src/test/resources'testma Build pathBuild Path Problem解决方法: 选中project-->右键-->properties--->java build path-->Source

2016-11-15 09:33:55 4243

原创 Maven 出错: Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from

maven报错  Failure to transfer classworlds:classworlds:pom:1.1-alpha-2 from 在缓存本地仓库中没有找到插件classworlds-1.1-alpha-2.pom,在没有解决这个问题之前,是不会去从Nexus代理的中央仓库上去执行更新下载。 我们到本地仓库看/classworlds/classworlds/1.1-

2016-11-13 14:27:03 2763 2

原创 maven 安装

1、下载maven文件  解压到D:/maven/apache-maven-3.3.9下2、配置环境变量 在系统变量处 添加环境编辑 maven_home 3、在系统变量处,修改path,添加;%maven_home%\bin  4、运行cmd 进入dos命令界面 ,进入maven的解压文件下bin目录下 运行 mvn -v 

2016-11-13 09:59:25 220

原创 NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;)

项目中引用的明明是commons.collections-3.2.1.jar (3.2版的),但服务器启动后,调用CollectionUtils.isNotEmpty 方法时,却总是报 NoSuchMethodError: org.apache.commons.collections.CollectionUtils.isNotEmpty(Ljava/util/Collection;)Z

2016-08-05 17:52:48 6228

spring boot thymeleaf 整合 百度Ueditor 集成demo

spring boot thymeleaf 整合 百度Ueditor 集成demo 解决文件上传遇到的后端配置项没有正常加载,上传插件不能正常使用!

2018-08-10

mescroll.js基础案例

mescroll.js 案例 上拉刷新 下拉加载

2018-04-08

spring boot +spring security+thymeleaf实现权限

spring boot +spring security +thymeleaf 实现简单权限+remember-me功能

2017-08-25

springmvc4+maven

springmvc4 maven

2016-11-20

空空如也

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

TA关注的人

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