Config of classpath and correctly defined web.xml