Never Say Die------坚持下去
2008-07-10 16:09
232 查看
今天花了三个小时来学习Jbpm,目前还处于没入门阶段。
感谢陈刚,他写的入门资料给了我不少帮助。
不过我还是不能完成那个Helloworld人例子。
再学习的过程中,出现了几个问题:
如:流程定义文件没找到、数据库驱动没找到等等。
最后一个问题实在是解决不了了,那个问题好像是说那个字段没有,导致无法查询,
报错信息如下,希望有朋友能帮我解决这个问题:
16:06:29,843 [main] INFO SettingsFactory : Named query checking : enabled16:06:29,875 [main] INFO SessionFactoryImpl : building session factory16:06:31,875 [main] INFO SessionFactoryObjectFactory : Not binding factory to JNDI, no JNDI name configured16:06:32,437
[main] DEBUG DbPersistenceService : creating hibernate session16:06:32,484 [main] DEBUG DbPersistenceService : beginning hibernate transaction16:06:32,500 [main] DEBUG DbPersistenceService : begun hibernate transaction
org.hibernate.transaction.JDBCTransaction@15f157b16:06:32,546 [main] WARN JDBCExceptionReporter : SQL Error: 1054, SQLState: 42S2216:06:32,546 [main] ERROR JDBCExceptionReporter : Unknown
column 'processdef0_.DESCRIPTION_' in 'field list'org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at
org.hibernate.loader.Loader.doList(Loader.java:2223) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) at org.hibernate.loader.Loader.list(Loader.java:2099) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) at
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153) at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:67) at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) at shou.myAction.DeployProcessTest.testDeployProcessDefinition(DeployProcessTest.java:31) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at
junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at
junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)Caused by: java.sql.SQLException: Unknown column 'processdef0_.DESCRIPTION_' in 'field
list' at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622) at com.mysql.jdbc.Connection.execSQL(Connection.java:2376) at com.mysql.jdbc.Connection.execSQL(Connection.java:2297) at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1860) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1705) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) at org.hibernate.loader.Loader.getResultSet(Loader.java:1787) at
org.hibernate.loader.Loader.doQuery(Loader.java:674) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.doList(Loader.java:2220) ... 30 more16:06:32,750 [main] ERROR GraphSession : org.hibernate.exception.SQLGrammarException:
could not execute query
呵呵,今天就这样先,也累了,休息一下,下次再抽时间来研究了。
感谢陈刚,他写的入门资料给了我不少帮助。
不过我还是不能完成那个Helloworld人例子。
再学习的过程中,出现了几个问题:
如:流程定义文件没找到、数据库驱动没找到等等。
最后一个问题实在是解决不了了,那个问题好像是说那个字段没有,导致无法查询,
报错信息如下,希望有朋友能帮我解决这个问题:
16:06:29,843 [main] INFO SettingsFactory : Named query checking : enabled16:06:29,875 [main] INFO SessionFactoryImpl : building session factory16:06:31,875 [main] INFO SessionFactoryObjectFactory : Not binding factory to JNDI, no JNDI name configured16:06:32,437
[main] DEBUG DbPersistenceService : creating hibernate session16:06:32,484 [main] DEBUG DbPersistenceService : beginning hibernate transaction16:06:32,500 [main] DEBUG DbPersistenceService : begun hibernate transaction
org.hibernate.transaction.JDBCTransaction@15f157b16:06:32,546 [main] WARN JDBCExceptionReporter : SQL Error: 1054, SQLState: 42S2216:06:32,546 [main] ERROR JDBCExceptionReporter : Unknown
column 'processdef0_.DESCRIPTION_' in 'field list'org.hibernate.exception.SQLGrammarException: could not execute query at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at
org.hibernate.loader.Loader.doList(Loader.java:2223) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) at org.hibernate.loader.Loader.list(Loader.java:2099) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) at
org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:153) at org.jbpm.db.GraphSession.deployProcessDefinition(GraphSession.java:67) at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173) at shou.myAction.DeployProcessTest.testDeployProcessDefinition(DeployProcessTest.java:31) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at
junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at
junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128) at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)Caused by: java.sql.SQLException: Unknown column 'processdef0_.DESCRIPTION_' in 'field
list' at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1531) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1622) at com.mysql.jdbc.Connection.execSQL(Connection.java:2376) at com.mysql.jdbc.Connection.execSQL(Connection.java:2297) at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1860) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1705) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) at org.hibernate.loader.Loader.getResultSet(Loader.java:1787) at
org.hibernate.loader.Loader.doQuery(Loader.java:674) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) at org.hibernate.loader.Loader.doList(Loader.java:2220) ... 30 more16:06:32,750 [main] ERROR GraphSession : org.hibernate.exception.SQLGrammarException:
could not execute query
呵呵,今天就这样先,也累了,休息一下,下次再抽时间来研究了。
相关文章推荐
- Never Say Die
- 302. Never say die. 永不言败
- Never Say Die
- 有的句子不长,却能鼓舞我们,成为我们坚持下去的动力
- 看看C++学习能否坚持下去
- 耐心不下去也要耐心,也要坚持
- 做一些学习的事情一定要坚持下去
- 重新开始学习c#啦,希望能坚持下去!
- 工作一年,突然觉得有必要写点东西记录下生活学习方面的东西,希望能坚持下去
- 工作一年,突然觉得有必要写点东西记录下生活学习方面的东西,希望能坚持下去
- NBUT 1153 Hero May Die But the King Will Never
- 第一天写,希望能坚持下去。
- BT源代码学习心得(三):种子文件的编码方式 -- 转贴自wolfenstein (NeverSayNever)
- BT源代码学习心得(十):客户端源代码分析(相关对象一览) -- 转贴自 wolfenstein (NeverSayNever)
- 一定要坚持下去
- Never Say Never
- BT源代码学习心得(七):跟踪服务器(Tracker)的代码分析(HTTP协议处理对象) -- 转贴自 wolfenstein (NeverSayNever)
- 47.非要坚持下去吗
- 希望可以坚持下去
- 郁闷!~为什么坚持不下去?