E
E
EVGENY T.2019-08-16 11:36:18
Java
EVGENY T., 2019-08-16 11:36:18

What does No servlet class has been specified for servlet mean?

I'm making a Hello World Spring MVC project as shown here . I'm building a war file and deploying it to Tomcat. Problems:
1. If I go to the root of the application, I get its code instead of the value of the variable.

Hello World!
${message}

2. If I go to "application root/applied directory", I get an error:
No servlet class has been specified for servlet.
What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Serov, 2019-08-18
@JavaIlya

Of course, I haven’t studied spring yet, but something tells me that the first two links in Google will help you.
https://stackoverflow.com/questions/28353751/servl...
https://developer.jboss.org/thread/237135?_sscc=t

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question