05 2018 档案

maven项目启动报错;class path resource [com/ssm/mapping/] cannot be resolved to URL because it does not exist
摘要:项目启动报了一堆错误,其实都是class path resource [com/ssm/mapping/] cannot be resolved to URL because it does not exist这一个错误引起的 原来的session工厂的配置是这样写的 把classpath后加上*号 阅读全文

posted @ 2018-05-25 14:11 此地 阅读(9491) 评论(0) 推荐(2)

Maven项目启动报错:org.springframework.web.filter.CharacterEncodingFilter cannot be cast to javax.servlet.Filter
摘要:看网上说法tomcat启动时会把lib目录下的jar包加载进内存,而项目里也有相同的jar包就会导致jar包冲突 解决办法; 把pom依赖里相应的jar包添加<scope>标签 scope标签值选择provided表示项目部署时不会把这个jar包包含进去 阅读全文

posted @ 2018-05-25 13:54 此地 阅读(2108) 评论(0) 推荐(0)

maven编译项目报错,提示找不到符号或程序包XXX不存在
摘要:我的原因是maven依赖的jar包都下载了,但是引用的同一个项目下其他模块jar包找不到 解决方法: 把需要的jar包在pom里添加依赖 再次运行项目,Maven Dependencies下就会多了几个东西(不是jar包形式,搞不懂) 这个时候方法内就可以导入所需的类了 阅读全文

posted @ 2018-05-25 12:51 此地 阅读(8389) 评论(0) 推荐(0)

maven项目报错xxx cannot be resolved to a type
摘要:同一个maven项目下的不同模块,无法导入其他模块的类,其他模块的所有类都报xxx cannot be resolved to a type 解决方案(参考): 项目Build Path -->Configure Build Path -->Libraries -->Add External JAR 阅读全文

posted @ 2018-05-25 12:39 此地 阅读(1536) 评论(0) 推荐(0)

Oracle误删除数据恢复
摘要:select * from tablename as of timestamp to_timestamp('2018-05-04 13:30:00','yyyy-MM-dd hh24:mi:ss') 查询这个时间点的数据 (有可能因为系统时间和数据库时间不一致查不出数据 所以先查询数据库的时间 se 阅读全文

posted @ 2018-05-04 15:45 此地 阅读(9808) 评论(0) 推荐(1)