A maven project has a default directory structure. Put your hibernate.cfg.xml in the src/main/resources directory, and it will be copied in the WEB-INF/classes, and probably will work.

sourcex escreveu:
Unfortunately, a new issue just popped up about the same topic - my hibernate
project has been included in my WAR but without hibernate.cfg.xml and the
other XML files. Only classes has been inserted. How could I import the
other configuration files like .xml, .log, .txt etc?


--
Fabio Braga de Oliveira
Gerente de Projetos de Software
Work:   +55 19 3295-2111
Mobile: +55 19 9270-6574
E-mail: [EMAIL PROTECTED]

Símula Sistemas de Planejamento e Comércio Ltda.
Url:     http://www.simula.com.br
Address: Av. José Bonifácio, 2510
         Zipcode 13093-240
         Campinas - SP - Brazil


begin:vcard
fn:Fabio Oliveira
n:Oliveira;Fabio
org;quoted-printable:S=C3=ADmula Sistemas de Planejamento e Com=C3=A9rcio Ltda.
adr;quoted-printable:;;Av. Jos=C3=A9 Bonif=C3=A1cio, 2510;Campinas;SP;13093-240;Brazil
email;internet:[EMAIL PROTECTED]
title:Gerente de Projetos de Software
tel;work:+55 19 3295-2111
tel;cell:+55 19 9270-6574
x-mozilla-html:FALSE
url:http://www.simula.com.br
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to