報錯了實在找不到問題只好麻煩了,org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: [Lorg/hibernate/engine/FilterDefinition;
2018-05-11
終于成功了,之前報404的錯,后來改了structxml中的內容就可以了,修改為:
<package name="ssh" namespace="/" extends="struts-default">
<action name="product_*" class="cn.muke.ssh.action.ProductAction" method="{1}">
<result></result>
</action>
</package>
<package name="ssh" namespace="/" extends="struts-default">
<action name="product_*" class="cn.muke.ssh.action.ProductAction" method="{1}">
<result></result>
</action>
</package>
2018-05-08
The requested resource is not available.到這里就直接報404錯誤了,啊啊啊啊啊啊,求解
2018-04-13
action調用service空指針 實例化的時候寫成這樣就好了
private ProductService productService=new ProductService();
private ProductService productService=new ProductService();
2018-04-04
老鐵們,,,創建ssh的時候就會自動出現配置文件啊,然后直接進去按照老師的這個配置的進行配置就好了,為什么你們要下載配置文件呢,多麻煩啊。。。創建配置文件的方法:右擊你的web項目,最下面有個myeclipse/project facets中就是可以創建三個框架的配置文件了。。。。。
2018-03-29
講的真的好,現在正在看的一套視頻看的很迷,不得已搜另外的資料來的,不過現在看這個有一種云開見月的感覺,當然這種感覺的來源也是有前一套視頻做基礎以及經過自己的思考得來的。。。但愿看完接下來的視頻我也能把這個框架給整合起來。。。。
2018-03-16