
Log4J
文章平均质量分 70
翱翔天地
技术在于专注!主要从事前端开发,熟悉vue、jQuery、uniapp等,有微信公众号和微信小程序开发经验,熟练使用echarts、highcharts、帆软报表;了解Java、python和mysql
展开
-
log4j常见的五个等级
1、级别说明 级别顺序(低到高): DEBUG 2、测试实例/** * @Title:LogLevel.java * @Package:com.you.log * @Description:log4j日志等级 * @Author: 游海东 * @date: 2014年7月8日 下午10:58:41 * @Version V1.2.3 */packag原创 2014-07-08 23:17:03 · 2797 阅读 · 0 评论 -
Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0
1、错误描述[ERROR:]2015-05-05 16:35:50,664 [异常拦截] org.hibernate.exception.GenericJDBCException: error executing work at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQ原创 2015-05-05 23:48:12 · 7040 阅读 · 0 评论 -
org.hibernate.exception.GenericJDBCException: Could not open connection
1、错误描述org.hibernate.exception.GenericJDBCException: Could not open connection at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54) at or原创 2015-05-02 00:21:40 · 6303 阅读 · 8 评论 -
code is 9998;desc is 插入失败exception is org.hibernate.exception.JDBCConnectionException: Could not op
1、错误描述[ERROR:]2015-05-05 09:27:12,090 [插入失败] org.hibernate.exception.JDBCConnectionException: Could not open connection at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLSt原创 2015-05-05 23:30:02 · 3577 阅读 · 0 评论 -
Caused by: java.sql.SQLException: Operand should contain 1 column(s)
1、错误描述[ERROR:]2015-05-05 15:48:55,847 [异常拦截] org.hibernate.exception.DataException: error executing work at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDe原创 2015-05-05 23:41:44 · 5308 阅读 · 0 评论 -
驱动程序和应用程序之间的体系结构不匹配
1、错误描述2、错误原因 在Windows7 64位系统下,安装了MySQL64位,但是安装的驱动是32位,导致类型不匹配出错3、解决办法 在官网上下载最新的64位驱动安装程序,重新安装原创 2015-05-05 23:53:00 · 5354 阅读 · 0 评论 -
Column 'id' in where clause is ambiguous
1、错误描述org.hibernate.exception.ConstraintViolationException: error executing work at org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:72) at org.hiber原创 2015-05-15 22:27:31 · 5933 阅读 · 3 评论 -
Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' charac
1、错误描述org.apache.batik.transcoder.TranscoderException: nullEnclosed Exception:Attribute name "aphmodel" associated with an element type "mxg" must be followed by the ' = ' character. at org.apach原创 2015-05-15 22:16:59 · 4333 阅读 · 1 评论 -
Caused by: java.net.SocketException: Software caused connection abort: socket write error
1、错误描述[ERROR:]2015-05-06 10:54:18,967 [异常拦截] ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error at org.apache.catalina.connector.OutputBuffer.doF原创 2015-05-06 23:02:30 · 4203 阅读 · 0 评论 -
Failed while installing Dynamic Web Module 3.0
1、错误描述2、错误原因3、解决办法原创 2015-05-05 23:55:46 · 16833 阅读 · 2 评论 -
java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES)
1、错误描述ERROR:2015-05-01 23:43:04[localhost-startStop-1] - HHH000319: Could not get database metadatajava.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: YES) at com.mysql原创 2015-05-01 23:50:47 · 4573 阅读 · 0 评论 -
java.sql.SQLException: Access denied for user 'sa'@'localhost' (using password: NO)
1、错误描述INFO:2015-05-01 16:53:29[main] - HHH000228: Running hbm2ddl schema updateINFO:2015-05-01 16:53:29[main] - HHH000102: Fetching database metadataERROR:2015-05-01 16:53:29[main] - HHH000319: Co原创 2015-05-01 16:58:34 · 4174 阅读 · 1 评论 -
log4j:ERROR setFile(null,true) call failed
1、错误描述log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:221) at java.i原创 2015-04-29 22:50:15 · 9710 阅读 · 9 评论 -
Caused by: java.lang.ClassNotFoundException: Could not load requested class : org.h2.Driver
1、错误描述WARN:2015-05-01 13:26:10[localhost-startStop-1] - HHH000402: Using Hibernate built-in connection pool (not for production use!)WARN:2015-05-01 13:26:10[localhost-startStop-1] - Exception enco原创 2015-05-01 13:29:48 · 12399 阅读 · 0 评论 -
log4j:ERROR setFile(null,true) call failed
1、错误描述usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }四月 28, 2015 11:38:00 下午 org.apache.catalina.startup.VersionLoggerListener log信息原创 2015-04-28 23:41:55 · 5642 阅读 · 5 评论 -
Invalid property 'url' of bean class [com.mchange.v2.c3p0.ComboPooledDataSource]
1、错误描述INFO:2015-05-01 13:13:05[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]WARN:2015-05-01 13:13:05[localhost-startStop-1] - Excep原创 2015-05-01 13:19:27 · 5032 阅读 · 0 评论 -
Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index
1、错误描述WARN:2015-05-01 16:45:37[main] - Exception encountered during context initialization - cancelling refresh attemptorg.springframework.beans.factory.BeanCreationException: Error creating bean w原创 2015-05-01 16:48:10 · 4637 阅读 · 0 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'smvch'
1、错误描述INFO:2015-05-01 14:20:44[main] - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitO原创 2015-05-01 14:27:29 · 4951 阅读 · 2 评论 -
Invalid property 'driver_class' of bean class
1、错误描述INFO:2015-05-01 13:06:07[localhost-startStop-1] - Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]WARN:2015-05-01 13:06:07[localhost-startStop-1] - Excep原创 2015-05-01 13:11:14 · 7111 阅读 · 0 评论 -
Caused by: java.lang.ClassNotFoundException: org.aspectj.lang.annotation.Around
1、错误描述INFO:2015-05-01 11:12:15[localhost-startStop-1] - Root WebApplicationContext: initialization startedINFO:2015-05-01 11:12:15[localhost-startStop-1] - Refreshing Root WebApplicationContext: st原创 2015-05-01 12:51:11 · 13035 阅读 · 3 评论 -
No bean named 'hibernateTemplate' is defined
1、错误描述WARN:2015-05-01 15:42:22[localhost-startStop-1] - Exception encountered during context initialization - cancelling refresh attemptorg.springframework.beans.factory.BeanCreationException: Erro原创 2015-05-01 15:46:59 · 2942 阅读 · 1 评论 -
Caused by: org.xml.sax.SAXParseException; lineNumber: 28; columnNumber: 81;
1、错误描述严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListenerorg.springframework.beans.factory.xml.XmlBeanDefinitionStore原创 2015-05-01 10:44:03 · 31072 阅读 · 2 评论