*
The moose likes Object Relational Mapping and the fly likes Problem in using Hibernate with struts 2.1.2 tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem in using Hibernate with struts 2.1.2 tiles" Watch "Problem in using Hibernate with struts 2.1.2 tiles" New topic
Author

Problem in using Hibernate with struts 2.1.2 tiles

Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
I am trying to integrate Hibernate3 with struts2.1.2 tiles, it's gives error resource() not found. Without hibernate it's running, as soon as I add list of jar files for hibernate, get the resource not found error. Anybody have got same error, any help will be appreciated.

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please TellTheDetails. Exact error message, stack trace, etc. otherwise it's impossible to help.
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
David Newton wrote:Please TellTheDetails. Exact error message, stack trace, etc. otherwise it's impossible to help.



When try to run from eclipse then it's gives the error

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Not helpful--we need the stack trace found in the logs.
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
David Newton wrote:Not helpful--we need the stack trace found in the logs.


Stack Trace is given below:

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Aaaaaand the circumstances under which you get the error... Please don't make us guess everything.
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
When I add list of jar files for hibernate, after that got this error.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

On startup? On visiting a URL? Did you replace any S2 dependencies with Hibernate dependencies? Are there multiple jars for the same library? Is there any source code behind the JSP you're showing? We're not in front of your computer: we don't *know* what you're seeing, doing, etc.
 
jQuery in Action, 2nd edition
 
subject: Problem in using Hibernate with struts 2.1.2 tiles