I am using MyEclipse 6.5.1 and I am getting a problem.
1) I create a plain java project (not WEB) and create a Test class with a main method.
2) I run the class by selecting the “Run Open Dialog” and it works it displays “hello”
3) I then decide to add Hibernate capabilities and myeclipse includes jar files creates an hibernatesessionfactory and includes an XML cfg
4) Then i just try to run my test class (note I did not add any new code) I just introduced the “hibernate” capabilities and I get the following error from the console. The class path looks to be okay
java.lang.NoClassDefFoundError: Test
Exception in thread "main"
Any clue if is this is standard behavior or what I need to do to fix it?
Thanks
Max