- 博客(11)
- 收藏
- 关注
原创 使用分页插件pagehelper配置方法
导包3个mybatis-paginator-1.2.15.jar pagehelper-5.0.0.jar最重要的第三个:/jsqlparser-0.9.5.jar然后dao层的配置这么写<!-- 让spring管理sqlsessionfactory 使用mybatis和spring整合包中的 --> <bean id="sqlSessionFactory" ...
2018-11-23 11:32:41
544
原创 在controller中通过ModelAndView返回到页面的值,在jsp页面怎么取不到值呢?
首先先讲下 el表达式和jstlEL(Expression Language)是一种表达式语言,主要用于查找作用域中的数据,然后对它们执行一些简单的操作,用于对jsp标签的属性赋值。它不是编程语言。JSTL( JSP Standard Tag Library)是JSP标准 标签库,由apache实现,因为在jsp中出现大量Java代码不利于维护,sun公司就制定了一个类似于html标签一下的j...
2018-11-16 11:40:02
2295
转载 xml约束文件报错找不到xx.xsd的时候,清理下缓存 问题解决
Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd). For more information, right click on the message in the Problems View and select "Show Details..."...
2018-11-09 18:42:13
711
转载 Linux下Tomcat端口号以及进程相关命令
1. 查看tomcat进程ps -aux | grep tomcat(或者ps -ef | grep tomcat都行) [plain] view plain copyroot 1537 0.1 3.7 12829256 1248140 ? Sl Oct13 <span style="font-family: Arial, Helvetica,...
2018-11-04 23:04:58
225
转载 linux修改eth0
1:vim /etc/udev/rules.d/70-persistent-net.rules 把eth1的name改成eth0,然后把上面的那个eth0的删掉,eth1修改为eth0(目的是把不符合的网卡删掉)(2: ifconfig eth0 up 开启(激活)eth0 sudo dhclient eth0 更新eth0IP地址 sudo i...
2018-11-04 22:34:26
4709
转载 liunx安装软件报错yum install gcc-c++
http://ftp.sjtu.edu.cn/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" 尝试其他镜像错误原因是 http://ftp.sjtu.edu.cn/centos/6.9/os/x86...
2018-10-23 16:46:30
5816
原创 springmvc报错问题
报错信息摘要1:WARN [localhost-startStop-1] - Exception encountered during context initialization - cancelling refresh attempt2:org.springframework.beans.factory.BeanCreationException: Error creating be...
2018-10-10 13:05:47
451
转载 在eclipse下,package,source folder,folder都是文件夹. 它们的区别如下: package:当你在建立一个package时,它自动建立到source fold
在eclipse下,package,source folder,folder都是文件夹. 它们的区别如下: package:当你在建立一个package时,它自动建立到source folder下,也只能建立在这个目录之下. source folder:存放java源代码的文件夹,当然也包括一些package文件夹,还可以包含其他文件. 项目构建后,source folder里面的...
2018-10-10 08:30:41
390
转载 spring整合mybatis错误:class path resource [config/spring/springmvc.xml] cannot be opened because it does
运行环境:jdk1.7.0_17+tomcat 7 + spring:3.2.0 +mybatis:3.2.7+ eclipse 错误:class path resource [config/spring/springmvc.xml] cannot be opened because it does not exist 错误原因:找不到我的springmvc.xml,在下面web.xm...
2018-10-09 20:09:30
1202
转载 将下载到本地的JAR包手动添加到Maven仓库
常用Maven仓库网址:http://mvnrepository.com/http://search.maven.org/http://repository.sonatype.org/content/groups/public/http://people.apache.org/repo/m2-snapshot-repository/http://people.apache.org/repo/m2-...
2018-08-29 09:40:32
166
原创 mysql 安装后无法启动问题
service mysql startStarting MySQL..The server quit without updating PID file (/var/lib/mysql/cvte.pid). [失败]1:查看errlog和配置文件的方法:> mysqld --verb...
2018-03-27 23:06:19
370
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人