HTTP Status 500 - Servlet.init() for servlet Seckill-dispatcher threw exception
500错误
500错误
2017-07-28
改了一下ViewResolver好了 奇了怪了
<!--3:配置JSP 显示ViewResolver-->
<!--<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">-->
<!--<property name="viewClass" value="org.springframework.web.servlet.view.jstlView"/>-->
<!--<property name="prefix" value="/WEB-INF/jsp/"/>-->
<!--<property name="suffix" value=".jsp"/>-->
<!--</bean>-->
<bean id="viewResolver"
class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass"
value="org.springframework.web.servlet.view.JstlView"/>
<property
name="prefix" value="/WEB-INF/jsp/"/>
<property name="suffix"
value=".jsp"/>
</bean>
举报