Tomcat casting servlets to javax.servlet.Servlet instead of jakarta.servlet.http.HttpServlet

You’re basically physically including Tomcat 10.x specific libraries in WAR and then deploying the WAR to Tomcat 9.x. This is not the correct approach at all. Moreover, Tomcat 10.x was the first version to be Jakartified, not Tomcat 9.x. For Tomcat 9.x, which is based on Servlet 4.0, JSP 2.3, EL 3.0, WS 1.1 and … Read more

my app keeps stopping in android emulator [closed]

Look at this line Caused by: java.lang.ClassCastException: android.support.design.widget.TextInputEditText cannot be cast to android.support.design.widget.TextInputLayout It tells you, you are trying to cast an object of type TextInputEditText to a TextInputLayout. Now, look at the next line: at com.myiscaeproject.az.myapp.activities.MainLogIn.initViews(MainLogIn.java:54) it tells you, it happens in line 54 of your MainLogIn.java file. Learn to read stack traces, it … Read more