this.configuration.addResource("/src/Comment.hbm.xml");
Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Naren Chivukula wrote:
this.configuration.addResource("/src/Comment.hbm.xml");
Resources have to be accessed from the application classpath if they are in "src" folder. Try using
Cheers,
Naren
Frank Serkland wrote:Paul, I tried your change, and it didn't work. Here is the structure that I found Eclipse deployed to.
Paul Clapham wrote:Again, irrelevant. Forget about Eclipse for now. You're using a servlet container to run these things, right? And you're deploying your web application into it, right?
(If your answers aren't "Yes" so far then you're doing it wrong.)
Frank Serkland wrote:Well, I'm running this using Tomcat, but nothing has been copied over to Tomcat's installation. It's always just run from my project directory, so I guess I'm doing something wrong. I've got a WebContent folder with my JSPs and a WEB-INF. The WEB-INF has the web.xml, hibernate.cfg.xml, a few tlds and the lib folder. Something's crazy here, I know. Any ideas, anybody?
Frank Serkland wrote:Okay, let's try this question. What is the correct deployment process?
Frank Serkland wrote:Forget it, everyone. I'll just figure it out myself.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |