Before I made a simple dynamic web project with websockets and without maven, it works fine. Now I try to use maven. But when I'm compiling my project with mvn compile jetty:run
it doesn't build with javax.servlet.UnavailableException: Servlet class com.example.testbattle.ServerSide is not a javax.servlet.Servlet
exception. It requires to implement Servlet interface. Why didn't I need it with simple dynamic web project. How could I avoid this problem?
UPDATE: I have found out the problem it was wrong web.xml Now I can't launch serverside. What should I put into web.xml?