解决 tomct:run org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:191)问题

关于用Maven运行tomct:run,报错org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'viewLoginForm' of flow 'login-webflow'

出现原因

主要是因为 tomcat:run 默认采用的是tomcat6,当系统jdk大于1.7后,出现不兼容导致的问题,

解决方法

此时需要将maven执行tomcat:run命令的环境指向jdk1.7即可,以Idea为例如图所示:
在这里插入图片描述

发布了25 篇原创文章 · 获赞 0 · 访问量 5086

猜你喜欢

转载自blog.csdn.net/ycde2009/article/details/105568223