max wrote:
I don't have any of my files under eclipse workspace neither (not in any way an eclipse requirement).
Ah ... the cfg.xml selector assumes a project...stupid me ;) ..anyhow simple to solve for you (please put it in jira)
If you get a classnotfoundexception then that is 99% sure because you haven't added enough to the classpath.
What do you put there ?
I've added the JDBC driver (the database connection appears to work), jar files containing the POJOs (I also tried the eclipse build directory as well as my regular IDE's build directory), then I have added every library jar used by the application even though I do not think they should be a factor. I haven't added any hibernate jars, including the ehcache jar.
Looking at the POJO in question it only has dependencies on classes in the same package (likewise for these classes) plus Java classes like java.lang.String and java.io.Serializable.
I understand your initial conclusion that it is a classpath issue but I'm running out of ways to approach the problem from that end.
If you can direct me to the JIRA site I will happily file a bug for the configuration selector.
Thanks,
Ray