Add libraries to classpath and change mode for hibernate to "validate"