Shelly
Shelly

Reputation: 1045

Problems with deploy in Tomcat

Well, this is my directory structure:

enter image description here

Inside folder META-INF (/src/main/java) i have "persistence.xml". The problem is: when I deploy this project to WAR Project, this WAR don't contains persistence.xml and log4j.properties.

Upvotes: 0

Views: 82

Answers (1)

rzymek
rzymek

Reputation: 9311

Put your resource files (eg. persistence.xml) in

src/main/resources

Upvotes: 1

Related Questions