It would be nice if you would post your code for easyer debugging, but I think that it's telling you to rename your program "CourseServlet.java" because of the statement at the top "public class CourseServlet {", that should be the first line of code after any imports you might make. Either change the code to" public class LessonServlet {" or change the name of the file to "CourseServlet.java".