自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (1)
  • 收藏
  • 关注

原创 SpringMVC访问静态资源问题

搭建SpringMVC环境时,如果在Spring MVC的配置文件中DispatcherServlet拦截”/”,则会对.html,.js,*.jpg等静态文件的访问也会被拦截,想要访问这些静态资源必须要进行相应的配置这里推荐两中比较简单的方法。1:在web.xml中添加<servlet-mapping><servlet-name>default<...

2019-02-21 20:23:23 307

原创 thymeleaf模板报红

问题:解决:忽略所有警告或错误1:<!--suppress ALL-->或者忽略Thymeleaf有关警告或错误2:<!-- suppress ThymeleafVariablesResolveInspection -->2:取消这个勾关闭IDEA对于thymeleaf的数据验证选项...

2019-04-03 11:45:13 670

原创 The selection cannot be run on any server

原因tomcat版本与你的web项目的版本冲突比如我的tomcat是8.5.31的web项目是4.0,Run on server时会报The selection cannot be run on any server,tomcat8.5.31只支持J2EE 1.2、1.3、1.4和JavaEE 5, 6而J2EE 1.2、1.3、1.4和JavaEE 5, 6对应的Dynamic web ...

2018-12-13 20:10:13 7733

原创 hibernate常见错误之Unable to locate persister:

这个错误是应为你没有在hibernate的配置文件中配置对应的映射文件&lt;!-- 3.配置映射文件  --&gt;         &lt;mapping resource="com/zking/one/entity/User.hbm.xml"/&gt;resource为映射文件的路径制定包下的唯一路径。...

2018-12-09 19:04:22 8157

原创 Navicat每次连接MySQL都会产生id_cache.db,id_cache.db-wal,id_cache.db-shm的三个文件

这三个是Navicat连接数据库时产生的如果没有设置存储位置会直接存储在你的根目录下,看着很难受,Navicat中可以设置其存储位置:选中连接->编辑连接->高级->设置位置...

2018-11-26 18:46:31 10189 3

原创 maven下新建项目报Could not calculate build plan:

其实就是你的本地maven仓库缺少了某个jar,或者依赖的文件。比如我在新建一个Java项目时报:Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.4 or one of its dependencies could not be resolved: Failed to re...

2018-11-26 15:45:07 324

原创 解决配置好maven后新建第二个项目时报Could not resolve archetype

找到:\本地仓库\org\apache\maven\archetypes\maven-archetype-webapp\1.0下后缀为.lastUpdated的文件删除即可。  

2018-11-22 16:17:38 318

原创 easyui选项卡

// add a new tab panel $('#tt').tabs('add',{ title:'New Tab', content:'Tab Body', closable:true, tools:[{ iconCls:'icon-mini-refresh', hand...

2018-10-15 18:20:41 231

原创 easyui的数据表格

$('#dg').datagrid({ url:'datagrid_data.json', columns:[[ {field:'code',title:'代码',width:100}, {field:'name',title:'名称',width:100}, {field:'price',t...

2018-10-14 22:57:57 384

转载 mysql常用数据类型

常用数据类型:  数值类型:bit,booleantinyint(对应java的byte)smallint(对应java的short),int,bigint(对应java的long)float,double 。文本、二进制类型:char 最大255 varchar(20) ---&gt;最大长度为20,长度根据里面存储的内容长度而动态改变 最大255...

2018-09-24 15:51:11 182

转载 MySQL日期函数

日期时间类ADDTIME (date2 ,time_interval ) //将time_interval加到date2CONVERT_TZ (datetime2 ,fromTZ ,toTZ ) //转换时区CURRENT_DATE ( ) //当前日期CURRENT_TIME ( ) //当前时间CURRENT_TIMESTAMP ( ) //当前时间戳DATE (datetim...

2018-09-24 15:43:06 156

原创 JSON数据形式

&lt;html&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;&lt;script type="text/javascript" src="js/jquery-3.3.1.js"&gt;&lt;/script&g

2018-09-18 15:55:42 621

原创 jQuery隔行变色

 &lt;html&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;&lt;title&gt;Insert title here&lt;/title&gt;&lt;/head&gt;&lt;script type=&quot

2018-09-17 21:12:12 3698

mysql链接驱动

用与MySQL数据库的连接,连接池:jdbc:mysql://localhost:3306/数据库名?useUnicode=true&amp;characterEncoding=UTF-8

2018-11-25

空空如也

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

TA关注的人

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