English 中文(简体)
排 定 定 题
原标题:Configuration problem with Hibernate and Spring

我试图用Eclipse建立一个春季申请。 自2006年以来 在我试图用浏览器进入我的网络服务时,我先将这一例外情形带入了DAO。

Caused by: java.lang.ClassNotFoundException: org.springframework.orm.hibernate3.support.HibernateDaoSupport at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)

春季联合调查组正在Eclipse项目“图书馆”,而Eclipse则没有就该问题向我提出建议。

问题回答

不仅有一条春天。 如欲上课,请上<条码>。 页: 1

更重要的是,你再次失去了项目所依赖的核心。

见http://hibernate.org/downloads”rel=“nofollow”>here。

These are the dependancies your need:
<dependency org="org.hibernate.javax.persistence" name="hibernate-jpa-2.0-api" rev="1.0.1.Final" conf="runtime->default;compile->default;test->default"/>   
        <dependency org="org.hibernate" name="hibernate" rev="3.5.4-Final" conf="compile->default;test->default;runtime->default"/>
        <dependency org="org.hibernate" name="hibernate-annotations" rev="3.5.4-Final" conf="runtime->default;compile->default;test->default"/>
        <dependency org="org.hibernate" name="hibernate-commons-annotations" rev="3.2.0.Final" conf="runtime->default;compile->default;test->default"/>
        <dependency org="org.hibernate" name="hibernate-validator" rev="4.2.0.Final" conf="runtime->default;compile->default;test->default"/>
<dependency org="cglib" name="cglib-nodep" rev="2.2.2" conf="runtime->default;compile->default;test->default"/>

缩略语





相关问题
Tomcat´s server.xml dynamic configuration

My web application uses the same database configuration as the application XYZ. I have a resource declaration for a context in server.xml, so I have a duplicated configuration (once for web ...

session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

JSP exception - class not found (tomcat)

I m setting up an existing application on a new Tomcat 5.5 server connecting to a Postgres database (running on Debian Lenny). When I access it I get a series of stack traces with the following root ...

热门标签