出错
这个少女IT男
You never know how strong you are until being strong is the only choice you have.
展开
-
数据库重构工具 LiquiBase被锁,报错Error creating bean with name 'liquibase' defined in class path resource ....
在项目启动时,报错如下:2020-二月-03 10:34:31.305 INFO [main] l.e.j.JdbcExecutor - SELECT ID,`LOCKED`,LOCKGRANTED,LOCKEDBY FROM survey.DATABASECHANGELOGLOCK WHERE ID=12020-二月-03 10:34:31.454 WARN [main] o.s.b...原创 2020-02-03 12:24:54 · 10625 阅读 · 7 评论 -
在MyEclipse中启动Tomcat报错Error initializing endpoint java.net.SocketException: Unrecognized Windows Sock
报错如下: Tomcat Error initializing endpoint java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method)at java.net.PlainSoc原创 2017-09-21 16:49:16 · 1654 阅读 · 0 评论 -
在把jQuery的ajax例子放在AppServ上运行时出错,failed to open stream: No such file or directory in Unknown on line 0
failed to open stream: No such file or directory in Unknown on line 0我使用的方法是:将路径中的中文修改成英文,运行成功了。原创 2017-07-28 17:44:41 · 7358 阅读 · 3 评论 -
Unable to load configuration. - Class: java.net.PlainSocketImpl
Unable to load configuration. - Class: java.net.PlainSocketImpl发表于2013/1/6 15:23:46 2423人阅读严重: Exception starting filter struts2Unable to load configuration. - Class: java.net.PlainSo转载 2017-05-17 10:59:56 · 286 阅读 · 0 评论 -
struts2,hibernate4,spring3配置时问题汇总及解决办法
struts2,hibernate4,spring3配置时问题汇总及解决办法博客分类: hibernate4spring2struts2struts2hibernate4spring3配置时问题汇总及解决办法 1.java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor缺少asm转载 2017-05-17 10:54:35 · 534 阅读 · 0 评论 -
加上事务aop后项目启动报错解决方法参考
加上事务aop后项目启动报错解决方法参考发表于2016/5/4 10:32:02 1309人阅读分类: 异常很多时候在进行ssm或者ssh整合时会遇到各种搞不清的报错下面就是我在整合过程遇到的错误,费了好一番功夫才知道错在哪希望对大家有帮助在整合中的spring配置文件里各项我都测试没问题,这时我就加上了aop事务管转载 2017-05-17 10:52:08 · 655 阅读 · 0 评论 -
spring+hibernate出错小结
spring+hibernate出错小结: (1)java.lang.NoClassDefFoundError: org/hibernate/context/CurrentSessionContext 原因:出现这错误时,请更改hibernate的包,更新至最新或3.1以上 (2)java.lang.NoClassDefFoundError: javax/transaction/T转载 2017-05-17 10:49:04 · 904 阅读 · 0 评论 -
org.hibernate.exception.SQLGrammarException: could not insert
org.hibernate.exception.SQLGrammarException: could not insert……org.hibernate.exception.SQLGrammarException 这异常大多是关键字冲突引起的:SQL关键字总结:关键字PostgreSQLSQL 99SQL 92ABOR转载 2017-04-15 19:00:16 · 615 阅读 · 0 评论 -
Javaweb项目中从servlet跳转到jsp页面出现乱码
在创建的servlet中要按照如下顺序: public void doPost(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException { request.setCharacterEncoding("UTF-8"); respon原创 2017-03-20 09:35:58 · 454 阅读 · 0 评论 -
java.sql.SQLException: Column Index out of range, 2 > 1.
case1:由于rs.next()遍历查询结果时,下标是从“1”开始,而不是是从“0”开始,导致出错case2:public class infoDAO {public ResultSet rs;DBManager db=new DBManager();public List jquery(String sql) throws SQLException{rs=db.execut转载 2017-03-17 16:47:39 · 15818 阅读 · 0 评论