Start state is missing. Add at least one state to the flow 出現(xiàn)這個(gè)錯(cuò)誤
spring-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
?? ?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
?? ?xmlns:context="http://www.springframework.org/schema/context"
?? ?xmlns:mvc="http://www.springframework.org/schema/mvc"
?? ?xsi:schemaLocation="http://www.springframework.org/schema/beans
?? ??? ??? ??? ??? ??? ?http://www.springframework.org/schema/beans/spring-beans.xsd
?? ??? ??? ??? ??? ??? ?http://www.springframework.org/schema/context ?
??????????????????????? http://www.springframework.org/schema/context/spring-context.xsd
??????????????????????? http://www.springframework.org/schema/mvc ?
??????????????????????? http://www.springframework.org/schema/mvc/spring-mvc.xsd">
??? ?<!-- 配置springMVC -->?? ?
??? ?<!-- 1、開(kāi)啟springMVC注解模式 -->
??? ?<mvc:annotation-driven/>
??? ?<!-- 2、靜態(tài)資源默認(rèn)servlet處理 -->
??? ?<mvc:default-servlet-handler />
??? ?<!-- 3、配置jsp 顯示ViewResolver -->
??? ?<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
?? ??? ?<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"></property> ?? ?
?? ??? ?<property name="prefix" value="/WEB-INF/jsp/"></property>?? ?
?? ??? ?<property name="suffix" value=".jsp"></property>
??? ?</bean>
??? ?
??? ?<!-- 掃描web相關(guān)的bean -->
??? ?<context:component-scan base-package="com.seckill.web"/>
</beans>
2016-12-13
錯(cuò)誤代碼貼出來(lái)
2016-07-29
頂上去