The error you are seeing is a ClassNotFoundException, so its not specific to Hibernate2, it happens when the ClassLoader tries to load a class throuhg its
string name and the class is not on the classpath.
The tutorial you are using uses Hibernate3. Hibernate2 is very old, which is no reason in itself not to use it (though its is not nearly as feature rich as Hibernate3), however one significant change from 2 to 3 is a wholesale refactoring of the package structure. So the class names and the mappings shown in that tutorial will not work with Hibernate2. If you are looking to learn Hibernate, learn the latest version.