1.自己输入http://localhost:8080/ssh-jbpm 报错说页面找不到,开始以为没发布成功
在servlet-mapping和filter-mapping后添加节点
<welcome-file-list>
<welcome-file>login.jsp</welcome-file>
</welcome-file-list>
2.任意输入用户名密码都没报错
LoginAction中的逻辑有问题 if-else分支和isnull判断
3.保存对象时报错
org.springframework.jdbc.BadSqlGrammarException: Hibernate operation: could not get next sequence value; bad SQL grammar [select hibernate_sequence.nextval from dual]; nested exception is com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown table 'hibernate_sequence' in field list
原因:applicationContext.xml的hibernate dialect未修改
TbBaoxiao.hbm.xml的<generator class="native" />
4.发布流程时日志
DEBUG ProcessState : subprocess for process-state '财务处理流程' not yet bound.
因为财务处理流程是报销流程的子流程,所以要先发布财务处理流程再发布报销流程
正确的日志输出
DEBUG ProcessState : subprocess for process-state '财务处理流程' bound to ProcessDefinition(caiwu)