嗨,我知道这个错误,我不知道为什么??
启动状态丢失。向流中添加至少一种状态
文件:main- File .File
<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow-2.3.xsd">
<view-state id="start" view="start.xhtml">
</view-state>
文件pom.xml
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-webflow</artifactId>
<version>2.3.1.RELEASE</version>
</dependency>发布于 2015-07-10 19:06:32
必须将开始状态参数添加到flow标记中。
<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow-2.3.xsd"
start-state="start">结束状态并不是使其工作的必要条件,但当然建议使用结束状态来清理该实例的资源。
<end-state id="end"/>https://stackoverflow.com/questions/31120363
复制相似问题