eclipse
西瓜_gg
这个作者很懒,什么都没留下…
展开
-
web.xml里<init-param>报错
DescriptionResourcePathLocationTypecvc-complex-type.2.4.a: Invalid content was found starting with element 'init-param'. One of '{"http://java.sun.com/xml/ns/javaee":enabled, "http://java.sun.co转载 2017-10-12 10:25:31 · 471 阅读 · 0 评论 -
Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/
有些时候,会报错,错误提示为: Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core" 解决此问题的方法为以下: 在WEB-INF/lib里加入 jstl.jar standard.jar两个包即可解决这个问题转载 2017-10-12 10:27:05 · 803 阅读 · 0 评论 -
The content of element type "configuration" must match "EMPTY". Children of type "comment" are not a
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">改为"http://mybatis.org/dtd/mybatis-3-config.dtd">原创 2017-10-12 10:38:25 · 1457 阅读 · 0 评论 -
错误提示:Multiple annotations found at this line: basePath cannot be resolved to a variable
出现以上错误,主要是由下面这句引起的:">但这句话似乎又没有任何问题。将这句话删除问题就得到了解决,而且对原来的网站没有影响。经过在网上一番查找,总结如下:这个错误出现的原因是由自己在做jsp文件引入时引起的,文件加载合并过程中出现了代码加载重复的现象。经过阅读下面的文档则恍然大悟,原来自己删了JSP页面开头的代码,才会出现这样的问题。将源代码进行恢复则问题得到解决。转载 2017-10-12 17:11:42 · 1164 阅读 · 0 评论 -
[org.springframework.web.servlet.PageNotFound] - No mapping found for HTTP request with URI
在web.xml中加入springSecurityFilterChainorg.springframework.web.filter.DelegatingFilterProxyspringSecurityFilterChain/*原创 2017-11-07 16:53:50 · 2890 阅读 · 0 评论 -
Duplicate entry '0' for key 'PRIMARY'
主键设为自增原创 2017-10-17 09:15:01 · 252 阅读 · 0 评论 -
DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter '5' for row 0.解决方案
今天在做后台的时候,考虑到会员模块和订单模块列表显示差不多,于是乎,偷了个懒,把会员列表显示页面的代码拷贝了过来,修改了一下,变成了订单模块。可是,在订单列表显示的时候老是报下面的错误,截图如下: 后台代码以及界面列表显示仔细看了好几遍,没问题啊。网上百度,无奈找到的很多都是外文,读不懂。于是,硬着头转载 2017-11-29 10:49:58 · 3483 阅读 · 2 评论 -
HTML中的单选按钮实现男女性别选择
HTML中的单选按钮实现男女性别选择,不让男女同是都能都能选择,实现方法:在按钮的属性里写一个name属性,并且把name的值设置成相同的例:男女转载 2017-11-29 10:50:24 · 49939 阅读 · 0 评论