源代码下载地址:http://www.zuidaima.com/share/1550463431412736.htm
简易的购物网站,采用SSH2
程序的BUG处理方法:
严重: StandardWrapper.Throwable
java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
解决方法:把web.xml下面注释即可
<!-- spring
<servlet>
<servlet-name>context</servlet-name>
<servlet-class>
org.springframework.web.context.ContextLoaderServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
-->
另外缺少jar包:
http://www.zuidaima.com/jar/search/jstl-1.0.1.htm
http://www.zuidaima.com/jar/search/servlet-api-2.4.htm
http://www.zuidaima.com/jar/search/standard-1.0.1.htm
类似demo,请查看:购物

本文分享了一款基于SSH2框架开发的简易购物网站源代码,并提供了下载链接。文中还介绍了遇到的StandardWrapper.Throwable错误及其解决办法,同时列出了项目中缺失的几个关键jar包。

1万+

被折叠的 条评论
为什么被折叠?



