测试的时候一直是404界面啊,欢迎界面可以进去,但是测试登录就不行了,欢迎的路径是http://localhost:8088/mmall_war_exploded/
测试界面是
web.xml也配置了servlet`
contextConfigLocation
classpath:applicationContext.xml
dispatcher-servlet.xml里面也配置了注解`<context:component-scan base-package=“com.mmall” annotation-config=“true”/>
<mvc:annotation-driven>
<mvc:message-converters>
<bean class="org.springframework.http.converter.StringHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<value>text/plain;charset=UTF-8</value>
<value>text/html;charset=UTF-8</value>
</list>
</property>
</bean>
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter">
<property name="supportedMediaTypes">
<list>
<value>application/json;charset=UTF-8</value>
</list>
</property>
</bean>
</mvc:message-converters>
</mvc:annotation-driven>`
为啥还是一直404啊