How can I test wether persistence.xml has been found or not?

It depends on your build process where the compiled files/jar will end up, when starting your test app. I'm pretty sure, you won't start from src-folder. You'll get some build or test folder to run your app from.

Then the folder structure should typically be like this.

It depends on your build process where the compiled files/jar will end up, when starting your test app. I'm pretty sure, you won't start from src-folder. You'll get some build or test folder to run your app from.

Then the folder structure should typically be like this: |- build |- classes |- org (packages) |- ... |- META-INF |- persistence. Xml |- ... (other config files) You could also check this link.

Thanks a lot, I used to have an ant target for that in my other projects so I was not aware anymore that the persistence. Xml needs to be in a certain spot. (And I still quarrel with the errormessage.) – sebastiangeiger Sep 10 '09 at 10:15.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions