gather_program ThreadPool
This commit is contained in:
parent
c1c8f34cb3
commit
7d7e40d434
|
@ -104,4 +104,9 @@
|
||||||
/project_match/target/
|
/project_match/target/
|
||||||
/project_match/log/*
|
/project_match/log/*
|
||||||
/project_match/.settings/
|
/project_match/.settings/
|
||||||
/project_match/.classpath
|
/project_match/.classpath
|
||||||
|
|
||||||
|
/gather_program/target/
|
||||||
|
/gather_program/log/*
|
||||||
|
/gather_program/.settings/
|
||||||
|
/gather_program/.classpath
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="optional" value="true"/>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="src" path="src/main/assembly"/>
|
|
||||||
<classpathentry kind="src" path="src/main/resource"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
|
||||||
<attributes>
|
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="output" path="target/classes"/>
|
|
||||||
</classpath>
|
|
|
@ -1,4 +0,0 @@
|
||||||
eclipse.preferences.version=1
|
|
||||||
encoding//src/main/java=UTF-8
|
|
||||||
encoding//src/test/java=UTF-8
|
|
||||||
encoding/<project>=UTF-8
|
|
|
@ -1,5 +0,0 @@
|
||||||
eclipse.preferences.version=1
|
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7
|
|
||||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
|
||||||
org.eclipse.jdt.core.compiler.source=1.7
|
|
|
@ -1,4 +0,0 @@
|
||||||
activeProfiles=
|
|
||||||
eclipse.preferences.version=1
|
|
||||||
resolveWorkspaceProjects=true
|
|
||||||
version=1
|
|
|
@ -1,119 +0,0 @@
|
||||||
15-12-15 10:31:54,227 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:33:36,304 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:34:26,956 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:35:57,874 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:43:44,480 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as title,content as content,created_time as created_time,updated_time as updated_time,type as type,tags as tags,source as source,homepage as homepage,url as url,url_md5 as url_md5,author as author,author_url as author_url,view_num as view_num,review_num as review_num,extracted_time as extracted_time from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
15-12-15 10:46:11,195 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:46:17,641 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as title,content as content,created_time as created_time,now() as updated_time,type as type,tags as tags,source as source,homepage as homepage,url as url,url_md5 as url_md5,author as author,author_url as author_url,view_num as view_num,review_num as review_num,extracted_time as extracted_time from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
15-12-15 10:47:43,661 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:50:40,444 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:54:57,166 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:54:59,432 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:57:24,853 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:57:27,016 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:57:36,218 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:00:29,580 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 11:01:21,012 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:01:23,193 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/PKControlPostsDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.selectItemByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from pk_control_posts where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 11:02:31,831 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:02:34,117 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.insertOneItem-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: insert into pk_control_posts (`urlMD5`) values (?)
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
15-12-15 11:03:23,138 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:03:25,279 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.dao.DataIntegrityViolationException:
|
|
||||||
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.insertOneItem-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: insert into pk_control_posts (`url_md5`) values (?)
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
; SQL []; Column 'url_md5' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
15-12-15 11:04:56,707 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:04:58,757 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## java.lang.NullPointerException
|
|
||||||
15-12-15 11:06:15,917 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:06:18,102 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## java.lang.NullPointerException
|
|
||||||
15-12-15 11:06:59,303 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:09:01,482 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:09:03,525 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'deal_name' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 11:11:04,966 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:11:07,165 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'homepage' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 11:12:12,446 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:12:14,567 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error updating database. Cause: java.sql.SQLException: Column count doesn't match value count at row 1
|
|
||||||
### The error may involve org.ossean.gatherposts.targetDao.TargetDao.insertRelativeMemo-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: INSERT INTO relative_memos (title,content,created_time,updated_time,type,tags,source,url,url_md5,author,author_url,view_num,review_num,extracted_time) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
|
|
||||||
### 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
|
|
||||||
15-12-15 15:37:28,538 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:37:30,609 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.dao.TransientDataAccessResourceException:
|
|
||||||
### Error querying database. Cause: java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as id,content as title,created_time as content,now() as created_time,type as updated_time,tags as type,source as tags,url as source,url_md5 as url,author as url_md5,author_url as author,view_num as author_url,review_num as view_num,extracted_time as review_num from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
; SQL []; Invalid value for getInt() - '使用for循环输出九九乘法表4.8'; nested exception is java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
15-12-15 15:42:31,610 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:42:33,867 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:121) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'url_md5' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:48:50,652 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:48:52,812 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:131) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'homepage' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 15:51:13,216 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:51:15,429 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:124) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'url_md5' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:52:15,484 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:52:17,650 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:124) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'updated_time' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:53:17,195 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:56:07,429 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 16:20:00,780 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
|
@ -1,20 +0,0 @@
|
||||||
15-12-13 09:25:58,916 ERROR org.ossean.gatherposts.process.GatherProjects(GatherProjects.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:30:37,037 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:43:14,505 ERROR org.ossean.GatherPosts(GatherPosts.java:117) ## 404 configure!
|
|
||||||
15-12-13 09:43:51,312 ERROR org.ossean.GatherPosts(GatherPosts.java:117) ## 404 configure!
|
|
||||||
15-12-13 09:44:38,749 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:47:10,584 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:55:19,224 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:56:32,887 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:58:41,999 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:03:53,664 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:04:26,951 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:08:43,256 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 19:26:11,126 ERROR org.ossean.gatherposts.process.GatherProjectsUtil(GatherProjectsUtil.java:131) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select deal_title as title,author as author,content as content,tags as tags,reply_num as reply_num,NULL as view_num,vote_up as vote_num,NULL as collection_num,extractTime as crawled_time,Url as url,created_time as created_time,"51cto_blog" as source,author_url as author_url,NULL as last_time,"blogs" as type,MD5(Url) as url_md5 from 51cto_blog where id >=7952 and id <= 8451
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
|
@ -1,286 +0,0 @@
|
||||||
15-12-15 10:31:54,227 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:31:54,652 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4d09341: startup date [Tue Dec 15 10:31:54 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:31:54,822 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:31:55,290 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:32:22,928 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:50) ## No item in this table
|
|
||||||
15-12-15 10:33:36,304 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:33:36,460 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@197392df: startup date [Tue Dec 15 10:33:36 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:33:36,542 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:33:36,817 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:33:48,029 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:58) ## No such pointer! Create one
|
|
||||||
15-12-15 10:34:26,956 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:34:27,112 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@5ed6d53c: startup date [Tue Dec 15 10:34:27 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:34:27,194 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:34:27,430 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:35:24,972 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:35:25,189 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:35:57,874 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:35:58,030 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@197392df: startup date [Tue Dec 15 10:35:58 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:35:58,109 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:35:58,340 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:43:44,150 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:43:44,201 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:43:44 CST 2015
|
|
||||||
15-12-15 10:43:44,269 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:43:44,465 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:43:44,480 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as title,content as content,created_time as created_time,updated_time as updated_time,type as type,tags as tags,source as source,homepage as homepage,url as url,url_md5 as url_md5,author as author,author_url as author_url,view_num as view_num,review_num as review_num,extracted_time as extracted_time from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'updated_time' in 'field list'
|
|
||||||
15-12-15 10:46:11,195 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:46:11,354 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@320b507a: startup date [Tue Dec 15 10:46:11 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:46:11,436 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:46:11,676 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:46:17,357 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:46:17,381 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:46:17 CST 2015
|
|
||||||
15-12-15 10:46:17,444 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:46:17,630 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:46:17,641 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as title,content as content,created_time as created_time,now() as updated_time,type as type,tags as tags,source as source,homepage as homepage,url as url,url_md5 as url_md5,author as author,author_url as author_url,view_num as view_num,review_num as review_num,extracted_time as extracted_time from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'homepage' in 'field list'
|
|
||||||
15-12-15 10:47:43,661 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:47:43,821 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4d09341: startup date [Tue Dec 15 10:47:43 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:47:43,904 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:47:44,140 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:50:39,704 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:50:39,731 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:50:39 CST 2015
|
|
||||||
15-12-15 10:50:40,235 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:50:40,427 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:50:40,444 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:54:57,166 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:54:57,316 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@833e745: startup date [Tue Dec 15 10:54:57 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:54:57,394 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:54:57,600 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:54:59,223 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:54:59,234 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:54:59 CST 2015
|
|
||||||
15-12-15 10:54:59,358 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:54:59,424 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:54:59,432 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:57:24,853 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:57:24,997 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 10:57:24 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:57:25,079 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:57:25,282 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:57:26,813 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:57:26,824 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:57:26 CST 2015
|
|
||||||
15-12-15 10:57:26,943 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 10:57:27,008 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 10:57:27,016 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 10:57:36,218 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 10:57:36,372 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@197392df: startup date [Tue Dec 15 10:57:36 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 10:57:36,451 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 10:57:36,688 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 10:57:40,914 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 10:57:57,988 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 10:57:57 CST 2015
|
|
||||||
15-12-15 11:00:09,077 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 11:00:09,269 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 11:00:29,580 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.findByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from relative_memos where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 11:01:21,012 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:01:21,157 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 11:01:21 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:01:21,233 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:01:21,435 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:01:23,004 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:01:23,014 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:01:23 CST 2015
|
|
||||||
15-12-15 11:01:23,131 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 11:01:23,184 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 11:01:23,193 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/PKControlPostsDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.selectItemByUrlMD5-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: select * from pk_control_posts where urlMD5=?
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'where clause'
|
|
||||||
15-12-15 11:02:31,831 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:02:31,973 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 11:02:31 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:02:32,046 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:02:32,248 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:02:33,904 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:02:33,914 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:02:33 CST 2015
|
|
||||||
15-12-15 11:02:34,048 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 11:02:34,108 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 11:02:34,117 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.insertOneItem-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: insert into pk_control_posts (`urlMD5`) values (?)
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'urlMD5' in 'field list'
|
|
||||||
15-12-15 11:03:23,138 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:03:23,282 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 11:03:23 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:03:23,355 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:03:23,555 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:03:25,076 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:03:25,088 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:03:25 CST 2015
|
|
||||||
15-12-15 11:03:25,206 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 11:03:25,270 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 11:03:25,279 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.dao.DataIntegrityViolationException:
|
|
||||||
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.PKControlPostsDao.insertOneItem-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: insert into pk_control_posts (`url_md5`) values (?)
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
; SQL []; Column 'url_md5' cannot be null; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'url_md5' cannot be null
|
|
||||||
15-12-15 11:04:56,707 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:04:56,849 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 11:04:56 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:04:56,929 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:04:57,123 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:04:58,639 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:04:58,650 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:04:58 CST 2015
|
|
||||||
15-12-15 11:04:58,757 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## java.lang.NullPointerException
|
|
||||||
15-12-15 11:06:15,917 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:06:16,059 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 11:06:16 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:06:16,136 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:06:16,334 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:06:17,978 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:06:17,989 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:06:17 CST 2015
|
|
||||||
15-12-15 11:06:18,102 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## java.lang.NullPointerException
|
|
||||||
15-12-15 11:06:59,303 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:06:59,456 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@320b507a: startup date [Tue Dec 15 11:06:59 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:06:59,540 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:06:59,769 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:07:04,857 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:07:05,851 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:07:05 CST 2015
|
|
||||||
15-12-15 11:09:01,482 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:09:01,625 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@833e745: startup date [Tue Dec 15 11:09:01 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:09:01,698 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:09:01,888 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:09:03,387 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:09:03,395 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:09:03 CST 2015
|
|
||||||
15-12-15 11:09:03,525 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'deal_name' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 11:11:04,966 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:11:05,108 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 11:11:05 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:11:05,186 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:11:05,374 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:11:07,021 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:11:07,030 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:11:07 CST 2015
|
|
||||||
15-12-15 11:11:07,165 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'homepage' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 11:12:12,446 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 11:12:12,592 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 11:12:12 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 11:12:12,664 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 11:12:12,856 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 11:12:14,354 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 11:12:14,365 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 11:12:14 CST 2015
|
|
||||||
15-12-15 11:12:14,491 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 11:12:14,557 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 11:12:14,567 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error updating database. Cause: java.sql.SQLException: Column count doesn't match value count at row 1
|
|
||||||
### The error may involve org.ossean.gatherposts.targetDao.TargetDao.insertRelativeMemo-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: INSERT INTO relative_memos (title,content,created_time,updated_time,type,tags,source,url,url_md5,author,author_url,view_num,review_num,extracted_time) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
|
|
||||||
### 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
|
|
||||||
15-12-15 15:37:28,538 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:37:28,703 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 15:37:28 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:37:28,783 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:37:28,983 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:37:30,503 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:37:30,511 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:37:30 CST 2015
|
|
||||||
15-12-15 15:37:30,551 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-15 15:37:30,598 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-15 15:37:30,609 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:128) ## org.springframework.dao.TransientDataAccessResourceException:
|
|
||||||
### Error querying database. Cause: java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select title as id,content as title,created_time as content,now() as created_time,type as updated_time,tags as type,source as tags,url as source,url_md5 as url,author as url_md5,author_url as author,view_num as author_url,review_num as view_num,extracted_time as review_num from iteye_blog where id >=122866 and id <= 122965
|
|
||||||
### Cause: java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
; SQL []; Invalid value for getInt() - '使用for循环输出九九乘法表4.8'; nested exception is java.sql.SQLException: Invalid value for getInt() - '使用for循环输出九九乘法表4.8'
|
|
||||||
15-12-15 15:42:31,610 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:42:31,755 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 15:42:31 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:42:31,829 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:42:32,024 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:42:33,662 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:42:33,671 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:42:33 CST 2015
|
|
||||||
15-12-15 15:42:33,867 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:121) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'url_md5' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:48:50,652 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:48:50,796 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 15:48:50 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:48:50,871 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:48:51,071 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:48:52,688 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:48:52,699 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:48:52 CST 2015
|
|
||||||
15-12-15 15:48:52,812 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:131) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'homepage' in 'class org.ossean.gatherposts.model.RelativeMemo'
|
|
||||||
15-12-15 15:51:13,216 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:51:13,362 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2004916b: startup date [Tue Dec 15 15:51:13 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:51:13,442 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:51:13,647 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:51:15,200 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:51:15,211 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:51:15 CST 2015
|
|
||||||
15-12-15 15:51:15,429 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:124) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'url_md5' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:52:15,484 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:52:15,632 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 15:52:15 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:52:15,709 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:52:15,909 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:52:17,425 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:52:17,436 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:52:17 CST 2015
|
|
||||||
15-12-15 15:52:17,650 ERROR org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:124) ## org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'updated_time' in 'class org.ossean.gatherposts.model.Taggings'
|
|
||||||
15-12-15 15:53:17,195 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:53:17,341 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@7946738: startup date [Tue Dec 15 15:53:17 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:53:17,416 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:53:17,627 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:53:19,171 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 15:53:19,182 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 15:53:19 CST 2015
|
|
||||||
15-12-15 15:53:39,744 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:137) ## EndTime:Tue Dec 15 15:53:39 CST 2015
|
|
||||||
15-12-15 15:53:39,782 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:53:49,790 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:53:59,796 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:54:09,802 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:54:19,808 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:54:29,813 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:56:07,429 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 15:56:07,598 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@be71839: startup date [Tue Dec 15 15:56:07 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 15:56:07,688 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 15:56:07,884 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 15:56:09,377 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:56:19,392 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 15:56:29,400 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:20:00,780 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-15 16:20:00,942 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@197392df: startup date [Tue Dec 15 16:20:00 CST 2015]; root of context hierarchy
|
|
||||||
15-12-15 16:20:01,026 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-15 16:20:01,270 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-15 16:20:10,244 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:58) ## No such pointer! Create one
|
|
||||||
15-12-15 16:21:03,339 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:45) ## BeginId#iteye_blog:122866
|
|
||||||
15-12-15 16:21:45,948 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:57) ## Transaction...@Tue Dec 15 16:21:45 CST 2015
|
|
||||||
15-12-15 16:26:04,406 INFO org.ossean.gatherposts.process.GatherPostsUtil(GatherPostsUtil.java:137) ## EndTime:Tue Dec 15 16:26:04 CST 2015
|
|
||||||
15-12-15 16:26:04,440 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:26:14,459 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:26:24,467 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:26:34,473 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:26:44,479 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:26:54,487 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
||||||
15-12-15 16:27:04,493 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:86) ## Thread sleeping ....waiting for new data
|
|
|
@ -1,104 +0,0 @@
|
||||||
15-12-13 09:25:58,916 ERROR org.ossean.gatherposts.process.GatherProjects(GatherProjects.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:25:59,266 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@3b1aed57: startup date [Sun Dec 13 09:25:59 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:25:59,466 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:26:00,197 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 09:26:02,005 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'gatherposts.sourceDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:26:02,044 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'com.ossean.gatherposts.targetDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:30:37,037 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:30:37,121 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@64d40911: startup date [Sun Dec 13 09:30:37 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:30:37,162 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:30:37,280 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 09:30:37,711 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'gatherposts.sourceDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:30:37,736 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'com.ossean.gatherposts.targetDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:43:14,505 ERROR org.ossean.GatherPosts(GatherPosts.java:117) ## 404 configure!
|
|
||||||
15-12-13 09:43:14,585 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1c9f6ece: startup date [Sun Dec 13 09:43:14 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:43:14,627 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:43:14,748 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 09:43:15,231 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'gatherposts.sourceDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:43:15,256 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'com.ossean.gatherposts.targetDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:43:51,312 ERROR org.ossean.GatherPosts(GatherPosts.java:117) ## 404 configure!
|
|
||||||
15-12-13 09:43:51,387 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1c9f6ece: startup date [Sun Dec 13 09:43:51 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:43:51,427 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:43:51,540 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 09:44:38,749 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:44:38,826 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@64d40911: startup date [Sun Dec 13 09:44:38 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:44:38,864 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:44:38,982 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 09:44:39,531 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'gatherposts.sourceDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:44:39,557 WARN org.mybatis.spring.mapper.MapperScannerConfigurer$Scanner(MapperScannerConfigurer.java:397) ## No MyBatis mapper was found in 'com.ossean.gatherposts.targetDao' package. Please check your configuration.
|
|
||||||
15-12-13 09:44:39,633 WARN org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:487) ## Exception encountered during context initialization - cancelling refresh attempt
|
|
||||||
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gatherPosts': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.ossean.gatherposts.sourceDao.GatherDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, mappedName=, description=, name=, type=class java.lang.Object, authenticationType=CONTAINER, lookup=)}
|
|
||||||
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:308)
|
|
||||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
|
|
||||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
|
|
||||||
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
|
|
||||||
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
|
|
||||||
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
||||||
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
|
|
||||||
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
|
|
||||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
|
|
||||||
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
|
|
||||||
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
|
|
||||||
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
|
|
||||||
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83)
|
|
||||||
at org.ossean.gatherposts.process.GatherPosts.main(GatherPosts.java:120)
|
|
||||||
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.ossean.gatherposts.sourceDao.GatherDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, mappedName=, description=, name=, type=class java.lang.Object, authenticationType=CONTAINER, lookup=)}
|
|
||||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308)
|
|
||||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
|
|
||||||
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
|
|
||||||
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:457)
|
|
||||||
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:435)
|
|
||||||
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:559)
|
|
||||||
at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169)
|
|
||||||
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
|
|
||||||
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:305)
|
|
||||||
... 13 more
|
|
||||||
15-12-13 09:47:10,584 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 09:47:10,663 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2723a510: startup date [Sun Dec 13 09:47:10 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 09:47:10,702 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 09:47:10,826 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 10:55:19,224 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:55:28,018 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@ac0cac8: startup date [Sun Dec 13 10:55:28 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 10:55:28,111 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 10:55:28,387 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 10:56:32,887 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:56:33,719 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4dc1dfa9: startup date [Sun Dec 13 10:56:33 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 10:56:33,810 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 10:56:34,093 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 10:56:49,295 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:50) ## No item in this table
|
|
||||||
15-12-13 10:58:41,999 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 10:58:42,092 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@4bd226a7: startup date [Sun Dec 13 10:58:42 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 10:58:42,137 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 10:58:42,268 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 10:58:48,791 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:50) ## No item in this table
|
|
||||||
15-12-13 11:03:53,664 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:03:53,759 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@472b644e: startup date [Sun Dec 13 11:03:53 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 11:03:53,803 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 11:03:53,931 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 11:03:58,939 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-13 11:03:59,068 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-13 11:03:59,104 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:50) ## No item in this table
|
|
||||||
15-12-13 11:04:26,951 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:04:27,053 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@51e7c4d4: startup date [Sun Dec 13 11:04:27 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 11:04:27,102 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 11:04:27,234 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 11:04:31,025 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:58) ## No such pointer! Create one
|
|
||||||
15-12-13 11:05:54,327 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-13 11:05:54,452 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-13 11:08:43,256 ERROR org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:116) ## 404 configure!
|
|
||||||
15-12-13 11:08:43,345 INFO org.springframework.context.support.ClassPathXmlApplicationContext(AbstractApplicationContext.java:510) ## Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@71c66162: startup date [Sun Dec 13 11:08:43 CST 2015]; root of context hierarchy
|
|
||||||
15-12-13 11:08:43,395 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext-myBatis.xml]
|
|
||||||
15-12-13 11:08:43,525 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from file [F:\ossean_repository\ossean\gather_posts\target\classes\applicationContext.xml]
|
|
||||||
15-12-13 11:08:55,447 INFO org.ossean.gatherposts.process.GatherPosts(GatherPosts.java:58) ## No such pointer! Create one
|
|
||||||
15-12-13 19:26:11,048 INFO org.ossean.gatherposts.process.GatherProjectsUtil(GatherProjectsUtil.java:48) ## BeginId#51cto_blog:7952
|
|
||||||
15-12-13 19:26:11,074 INFO org.ossean.gatherposts.process.GatherProjectsUtil(GatherProjectsUtil.java:60) ## Transaction...@Sun Dec 13 19:26:11 CST 2015
|
|
||||||
15-12-13 19:26:11,090 INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader(XmlBeanDefinitionReader.java:317) ## Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
|
|
||||||
15-12-13 19:26:11,121 INFO org.springframework.jdbc.support.SQLErrorCodesFactory(SQLErrorCodesFactory.java:126) ## SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]
|
|
||||||
15-12-13 19:26:11,126 ERROR org.ossean.gatherposts.process.GatherProjectsUtil(GatherProjectsUtil.java:131) ## org.springframework.jdbc.BadSqlGrammarException:
|
|
||||||
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
||||||
### The error may exist in org/ossean/gatherposts/sourceDao/GatherDao.java (best guess)
|
|
||||||
### The error may involve org.ossean.gatherposts.sourceDao.GatherDao.getGatherData-Inline
|
|
||||||
### The error occurred while setting parameters
|
|
||||||
### SQL: Select deal_title as title,author as author,content as content,tags as tags,reply_num as reply_num,NULL as view_num,vote_up as vote_num,NULL as collection_num,extractTime as crawled_time,Url as url,created_time as created_time,"51cto_blog" as source,author_url as author_url,NULL as last_time,"blogs" as type,MD5(Url) as url_md5 from 51cto_blog where id >=7952 and id <= 8451
|
|
||||||
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
||||||
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'vote_up' in 'field list'
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
<name>gather_posts</name>
|
<name>gather_program</name>
|
||||||
<comment></comment>
|
<comment></comment>
|
||||||
<projects>
|
<projects>
|
||||||
</projects>
|
</projects>
|
|
@ -3,11 +3,11 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>cn.edu.zhanyun</groupId>
|
<groupId>cn.edu.zhanyun</groupId>
|
||||||
<artifactId>gather_posts</artifactId>
|
<artifactId>gather_program</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>gather_posts</name>
|
<name>gather_program</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
<build>
|
<build>
|
|
@ -4,6 +4,7 @@ import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.InvalidPropertiesFormatException;
|
import java.util.InvalidPropertiesFormatException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -15,7 +16,7 @@ public class Configure {
|
||||||
private Properties prop = new Properties();
|
private Properties prop = new Properties();
|
||||||
Logger log4j = Logger.getLogger(Configure.class);
|
Logger log4j = Logger.getLogger(Configure.class);
|
||||||
private String pointerTableName;
|
private String pointerTableName;
|
||||||
private List<String> sourceTableNameList;
|
private List<String> sourceTableNameList = new ArrayList<String>();
|
||||||
private String targetTableName;
|
private String targetTableName;
|
||||||
private String sourceFields;
|
private String sourceFields;
|
||||||
private String targetFields;
|
private String targetFields;
|
|
@ -0,0 +1,11 @@
|
||||||
|
package org.ossean.gatherposts.process;
|
||||||
|
|
||||||
|
import org.springframework.context.ApplicationContext;
|
||||||
|
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||||
|
|
||||||
|
public class AppContext {
|
||||||
|
|
||||||
|
static ApplicationContext appContext = new ClassPathXmlApplicationContext(
|
||||||
|
"classpath:/applicationContext*.xml");
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package org.ossean.gatherposts.process;
|
package org.ossean.gatherposts.process;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
import java.util.concurrent.ExecutorService;
|
import java.util.concurrent.ExecutorService;
|
||||||
import java.util.concurrent.Executors;
|
import java.util.concurrent.Executors;
|
||||||
|
|
||||||
|
@ -13,10 +15,10 @@ import org.springframework.context.ApplicationContext;
|
||||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
public class GatherProcess {
|
public class GatherProcess {
|
||||||
private static Logger logger = Logger.getLogger(GatherProcess.class);
|
private static Logger logger = Logger.getLogger(GatherProcess.class);
|
||||||
|
public static Map<String,Boolean> gatherState = new HashMap<String,Boolean>();
|
||||||
private Configure conf;
|
private Configure conf;
|
||||||
private ExecutorService pool = Executors.newFixedThreadPool(20);
|
private ExecutorService pool = Executors.newFixedThreadPool(20);
|
||||||
@Resource
|
@Resource
|
||||||
|
@ -27,7 +29,15 @@ public class GatherProcess {
|
||||||
public void start(String configureName) throws InterruptedException{
|
public void start(String configureName) throws InterruptedException{
|
||||||
conf = new Configure(configureName);
|
conf = new Configure(configureName);
|
||||||
for(String sourceTableName : conf.getSourceTableNameList()){
|
for(String sourceTableName : conf.getSourceTableNameList()){
|
||||||
GatherThread gatherThread = new GatherThread(conf, sourceTableName);
|
Boolean state = gatherState.get(sourceTableName);
|
||||||
|
if( state == null || state == false){
|
||||||
|
gatherState.put(sourceTableName, true);
|
||||||
|
}
|
||||||
|
else if(state == true){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
GatherThread gatherThread = (GatherThread)AppContext.appContext.getBean("gatherThread");
|
||||||
|
gatherThread.setParameters(conf,sourceTableName);
|
||||||
pool.execute(gatherThread);
|
pool.execute(gatherThread);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,12 +49,12 @@ public class GatherProcess {
|
||||||
configureName = args[0].toString();
|
configureName = args[0].toString();
|
||||||
} else {
|
} else {
|
||||||
logger.error("404 configure!");
|
logger.error("404 configure!");
|
||||||
configureName = "iteye_blog_to_relative_memos";
|
configureName = "relative_memos";
|
||||||
//return;
|
//return;
|
||||||
}
|
}
|
||||||
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml");
|
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml");
|
||||||
GatherProcess Main = applicationContext.getBean(GatherProcess.class);
|
GatherProcess main = applicationContext.getBean(GatherProcess.class);
|
||||||
Main.start(configureName);
|
main.start(configureName);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -17,13 +17,15 @@ import org.ossean.gatherposts.sourceDao.PKControlPostsDao;
|
||||||
import org.ossean.gatherposts.sourceDao.PKControlProjectsDao;
|
import org.ossean.gatherposts.sourceDao.PKControlProjectsDao;
|
||||||
import org.ossean.gatherposts.sourceDao.PointerDao;
|
import org.ossean.gatherposts.sourceDao.PointerDao;
|
||||||
import org.ossean.gatherposts.targetDao.TargetDao;
|
import org.ossean.gatherposts.targetDao.TargetDao;
|
||||||
|
import org.springframework.context.annotation.Scope;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Component("gatherThread")
|
@Component("gatherThread")
|
||||||
|
@Scope("prototype")
|
||||||
public class GatherThread implements Runnable {
|
public class GatherThread implements Runnable {
|
||||||
private static Logger logger = Logger.getLogger(GatherThread.class);
|
private static Logger logger = Logger.getLogger(GatherThread.class);
|
||||||
private Configure conf;
|
private Configure conf;
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private GatherDao gatherDao;
|
private GatherDao gatherDao;
|
||||||
@Resource
|
@Resource
|
||||||
|
@ -51,7 +53,7 @@ public class GatherThread implements Runnable {
|
||||||
private String gatherPostsTableName = "relative_memos";
|
private String gatherPostsTableName = "relative_memos";
|
||||||
private int maxId;
|
private int maxId;
|
||||||
|
|
||||||
public GatherThread(Configure conf, String sourceTableName) {
|
public void setParameters(Configure conf, String sourceTableName) {
|
||||||
this.conf = conf;
|
this.conf = conf;
|
||||||
this.sourceTableName = sourceTableName;
|
this.sourceTableName = sourceTableName;
|
||||||
}
|
}
|
||||||
|
@ -80,30 +82,24 @@ public class GatherThread implements Runnable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
Thread.currentThread().setName(sourceTableName + "_to_" + conf.getTargetTableName());
|
Thread.currentThread().setName(sourceTableName);
|
||||||
while (true) {
|
idsIncrement = conf.getIdsIncrement();
|
||||||
idsIncrement = conf.getIdsIncrement();
|
idsBegin = readPointer(conf.getPointerTableName(), sourceTableName,
|
||||||
idsBegin = readPointer(conf.getPointerTableName(), sourceTableName,
|
conf.getTargetTableName());
|
||||||
conf.getTargetTableName());
|
idsEnd = maxId = pointerDao.getMaxId(sourceTableName);
|
||||||
idsEnd = maxId = pointerDao.getMaxId(sourceTableName);
|
while (idsBegin < idsEnd) {
|
||||||
while (idsBegin < idsEnd) {
|
beginId = idsBegin;
|
||||||
beginId = idsBegin;
|
endId = beginId + idsIncrement - 1; // 取数据时两边都取等号
|
||||||
endId = beginId + idsIncrement - 1; // 取数据时两边都取等号
|
if (endId <= maxId) {
|
||||||
if (endId <= maxId) {
|
handleBatchData(beginId, endId, conf);
|
||||||
handleBatchData(beginId, endId, conf);
|
idsBegin = idsBegin + idsIncrement;
|
||||||
idsBegin = idsBegin + idsIncrement;
|
} else {
|
||||||
} else {
|
endId = maxId; // endId应小于maxId
|
||||||
endId = maxId; // endId应小于maxId
|
handleBatchData(beginId, endId, conf);
|
||||||
handleBatchData(beginId, endId, conf);
|
break;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
Thread.sleep(conf.getWaitDataTime());
|
|
||||||
} catch (InterruptedException e) {
|
|
||||||
logger.error(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
GatherProcess.gatherState.put(sourceTableName, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,6 +157,7 @@ public class GatherThread implements Runnable {
|
||||||
} else {
|
} else {
|
||||||
// update gather_projects表中对应的记录,在维持待更新表
|
// update gather_projects表中对应的记录,在维持待更新表
|
||||||
postId = samePost.getId();
|
postId = samePost.getId();
|
||||||
|
model.setId(postId);
|
||||||
handleUpdateGatherPosts(samePost.getId(), model);
|
handleUpdateGatherPosts(samePost.getId(), model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,11 +193,10 @@ public class GatherThread implements Runnable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (conf.getTargetTableName().equals(
|
} else if (conf.getTargetTableName().equals("gather_projects")) {
|
||||||
"gather_projects")) {
|
List<GatherProject> dataGet = gatherDao.getPrjGatherData(
|
||||||
List<GatherProject> dataGet = gatherDao
|
sourceTableName, selectItems, beginId, endId,
|
||||||
.getPrjGatherData(sourceTableName, selectItems,
|
conf.getAndWhere());
|
||||||
beginId, endId, conf.getAndWhere());
|
|
||||||
for (int i = 0; i < dataGet.size(); i++) {
|
for (int i = 0; i < dataGet.size(); i++) {
|
||||||
GatherProject model = dataGet.get(i);
|
GatherProject model = dataGet.get(i);
|
||||||
String urlMD5 = model.getUrl_md5();// 通过urlMD5判断是不是已经存在该帖子
|
String urlMD5 = model.getUrl_md5();// 通过urlMD5判断是不是已经存在该帖子
|
||||||
|
@ -232,6 +228,7 @@ public class GatherThread implements Runnable {
|
||||||
} else {
|
} else {
|
||||||
// update gather_projects表中对应的记录,在维持待更新表
|
// update gather_projects表中对应的记录,在维持待更新表
|
||||||
prjId = samePrj.getId();
|
prjId = samePrj.getId();
|
||||||
|
model.setId(prjId);
|
||||||
handleUpdateGatherProjects(samePrj.getId(), model);
|
handleUpdateGatherProjects(samePrj.getId(), model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -300,6 +297,7 @@ public class GatherThread implements Runnable {
|
||||||
} else {
|
} else {
|
||||||
// update gather_projects表中对应的记录,在维持待更新表
|
// update gather_projects表中对应的记录,在维持待更新表
|
||||||
postId = sameJob.getId();
|
postId = sameJob.getId();
|
||||||
|
model.setId(postId);
|
||||||
handleUpdateGatherJobs(sameJob.getId(), model);
|
handleUpdateGatherJobs(sameJob.getId(), model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -362,8 +360,7 @@ public class GatherThread implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 处理URL不存在的项目 插入gather_projects表
|
// 处理URL不存在的项目 插入gather_projects表
|
||||||
public void handleInsertGatherProjects(GatherProject model,
|
public void handleInsertGatherProjects(GatherProject model, Configure conf) {
|
||||||
Configure conf) {
|
|
||||||
targetDao.insertOpenSourceProject(conf.getTargetTableName(),
|
targetDao.insertOpenSourceProject(conf.getTargetTableName(),
|
||||||
conf.getTargetFields(), model);
|
conf.getTargetFields(), model);
|
||||||
}
|
}
|
||||||
|
@ -382,7 +379,7 @@ public class GatherThread implements Runnable {
|
||||||
|
|
||||||
// 处理URL相同的项目更新 id表示更新的项目固定id
|
// 处理URL相同的项目更新 id表示更新的项目固定id
|
||||||
public void handleUpdateGatherJobs(int id, JobRequirement model_new) {
|
public void handleUpdateGatherJobs(int id, JobRequirement model_new) {
|
||||||
targetDao.updateJobRequirement(conf.getTargetTableName(), model_new,
|
targetDao
|
||||||
id);// 更新数据job_requirements表
|
.updateJobRequirement(conf.getTargetTableName(), model_new, id);// 更新数据job_requirements表
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue