2013年10月7日星期一

[ Problem ] SSH framework landlord can not calm ! Neighborhoods with the subject must be long

java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.support.OpenSessionlnViewFilter
wrong solution to this step , do not know the problem lie ? This package exists
Baidu said that can not be resolved over ...
seeking enlighten
------ Solution -------------------------------- ------------
using jpa Mody ?


wel.xml configuration look

<filter>
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
<filter-class>org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Spring OpenEntityManagerInViewFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>


------ For reference only ---------------------------------- -----
estimate does not build path

If already build path then try refresh
enough clean project
------ For reference only ----------------------------- ----------


or not ... I want emyclipse inside the package into finishing off
I ask how to change ? novice ... not randomly deleting
------ For reference only -------------------------- -------------
seems not configured hibernate environmental ah
------ For reference only -------------- -------------------------
this should be supported by spring hibernate package
----- - For reference only ---------------------------------------




the way to ask, I want to replace a jar inside myeclipse online integration , and how to do ?
if you can elaborate

------ For reference only ---------------------------------- -----
on the use myeclipse own ( my myeclipse8.5 a ) , first add struts2.1 then spring3.0 last hibernate3.0, I come in this order , you do not know whether this is to do ?

没有评论:

发表评论