I have directory with classes files. I want to put them in the WEB-INF/classes directory, I don't have the source Java files, just the classes.
When I start tomcat I got error java.lang.ClassNotFoundException
because there is listener in the web.xml that call some class that exists in my classes directory.
How can I do that?
I tried to insert the classes files to JAR and add it to the project library,
but I am still getting java.lang.ClassNotFoundException
.
I tried to put the directory with the classes in the src
directory but same, I got error that the class not found.