- 博客(9)
- 收藏
- 关注
原创 jsp页面无法连接到js,路径正确
网上找了好多贴 ,都是说路径。其实我的问题不在那在web.xml中,新增<servlet-mapping> <servlet-name >default </servlet-name > <url-pattern >*.js</url-pattern> </servlet-mapping >&...
2018-04-19 17:57:43 1201
原创 项目找不到mapper.xml中的方法
坑 啊 在pom.xml <build>里加这个<!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 --><resources> <resource> <directory>src/main/java</directory> <includes> &
2018-04-19 15:45:30 4987 2
原创 el表达式取不到值的问题 ${}
今天闲着无聊搭了一个小项目。一路非常看坎坷啊 ····连最基本的 el 都出不来 正题:只要加这个就好了:isELIgnored="false"例子要么就是对象里真没值...
2018-04-19 15:42:58 1662
原创 Cannot cast from Object to int不能把对象转成int类型
新导入项目int 换成包装类 integer 即可eclipse 会报错,idea 就不会。 不改也不会影响运行
2018-04-18 09:29:09 11173
原创 int 转String位数不够前面补零
String.format("%06d", 25); //25为int型0代表前面要补的字符6代表字符串长度d表示参数为整数类型输出为 000025
2017-12-07 10:26:21 6379 1
转载 优雅高效的MyBatis-Plus工具快速入门使用
http://www.cnblogs.com/fingerboy/p/6657118.html感谢原著!
2017-11-23 14:15:55 807
原创 ssm整合意外报空指针
### Error querying database. Cause: java.lang.NullPointerException### The error may exist in file [E:\Myeclipes\apache-tomcat-7.0.62\webapps\message_test\WEB-INF\classes\com\bawei\mapper\TMessageMa
2017-07-26 15:55:23 1617
原创 Caused by: org.hibernate.HibernateException: Could not parse configuration: file:/E:/chen/apache-tom
SSH运行时 出现org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init metho
2017-06-01 16:29:16 417
原创 Hibernate+struts2整合时出现java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.Del
2017-05-18 09:06:15 1315
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人