You're doing quite a few things wrong.
Firstly, it's WEB-INF, not web-inf. Case counts.
Secondly, the classes folder belongs in WEB-INF.
Thirdly, all classes in a web application must be in a package other than the default. If you are not familiar with
Java packages, that's your first step.