我的jar包都是引用的,各種RuntimeException,404,500 錯(cuò)誤,把jar包手動(dòng)添加到lib下面可以正常加載。
2017-04-01
最新回答 / 知了海龍
是不是版本的問題??
最贊回答 / 仁夏
你的項(xiàng)目少導(dǎo)入了aspectjweaver.jar包,導(dǎo)入就可以了
最新回答 / 李東浩
<...code...>
最新回答 / 抬頭就是陽光c
哦,懂了,application中配置這么一段?<bean id="productAction" class="cn.lzy.ssh.action.ProductAction" scope="prototype">,剛才沒看到
2017-03-28
<struts>
<package name="ssh" extends="struts-default" namespace="/">
<!-- 這里name和jsp中的action相對應(yīng) ,用struts配置-->
<action name="product_*" class="productAction" method="{1}">
</action>
</package>
</struts>
<package name="ssh" extends="struts-default" namespace="/">
<!-- 這里name和jsp中的action相對應(yīng) ,用struts配置-->
<action name="product_*" class="productAction" method="{1}">
</action>
</package>
</struts>
2017-03-28
最新回答 / Blegend
同學(xué),這個(gè)方法的參數(shù)是String[] mappingResources 是個(gè)數(shù)組呦
已采納回答 / MihaiWong
這個(gè)應(yīng)該是bean的id名字的問題,注意字母大小寫<!--配置action層 ?--> <bean id="productaction" class="com.action.ProductAction" scope="prototype"> <property name="productservice" ref="productservice"></property> </bean> <!--配置service層 ?--> <...
ERROR [localhost-startStop-1] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productService' defined in class path resource [applicationContext.xml]: Initialization of bean failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'productService' defined in class path resource [applicationContext.xml]: Initialization of bean failed
2017-03-26
最新回答 / 初學(xué)者LV3
兄弟你這是jar包 導(dǎo)錯(cuò)了
最新回答 / Blegend
雖然你說的不是很清楚,但是我能猜到,應(yīng)該是你的配置文件有點(diǎn)問題,導(dǎo)致你服務(wù)器沒有起來,服務(wù)器沒起來的話所有對你服務(wù)器的請求都會(huì)報(bào)404的錯(cuò)誤,不知道是不是這個(gè)問題,如果不是回復(fù)我,幫你解答
2017-03-24