ItGo.me - 专注IT技术分享

首页 > Exception > Column count doesn't match value count at row 1原因及解决

Column count doesn't match value count at row 1原因及解决

时间:2015-03-17来源:网友分享 点击:
### Error updating database.  Cause: java.sql.SQLException: Column count doesn't match value count at row 1
### The error may involve com.car.stone.business.dao.BizProviderDao.insert-Inline
### The error occurred while setting parameters
### SQL: insert into   
### Cause: java.sql.SQLException: Column count doesn't match value count at row 1
; bad SQL grammar []; nested exception is java.sql.SQLException: Column count doesn't match value count at row 1
	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:98)
主要原因是 插入时,字段数量与设置的变量数量不一致导致。

Hive Specified key was too long; max key length is 767 bytes

An exception was thrown while adding/validating class(es) : Specified key was too long; max key length is 767 bytes...

Make sure you're using Spring 3.2.5 or better spring-data-solr解决

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: AnnotationConfigUtils.processCommonDefinitionAnnotations(…) is not public! Make sure you're using Spring 3.2.5 or better...

org.apache.hadoop.mapred.SafeModeException: JobTracker is in safe mode解决办法

ERROR security.UserGroupInformation: PriviledgedActionException as:hp cause:org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.mapred.SafeModeException: JobTracker is in safe mode...

Cause: java.sql.SQLException: Column count doesn't match value count at row 1
------分隔线----------------------------