FIX Error in web.xml File Eclipse IDE | Servlet & JSP web.xml Error RESOLVED

preview_player
Показать описание

The newer version of Tomcat Server(Tomcat 10) is using jakarta API and jakarta namespace. And this namespace is not mapped in servlet or JSP projects.

A servlet is a Java programming language class that is used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.
Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by web servers. For such applications, Java Servlet technology defines HTTP-specific servlet classes.

✅Subscribe to my Channel to learn more about Computer Programming, computer tools, and technologies.
Thanks for watching my videos till the end, if you like my work please do Like, Comment, and Share!!
-----------------------------------------------------------------------
Channel Subscription:

Java Programming Tutorial Playlist

G-Suite Tools Playlist

Screen Recorder Playlist

Quizzes Playlist:

Online Teaching Tools Playlist

------------------------------------------------------------------------
🎥 Tools I used for recording

🌍🌍$$$**Want To Become SUCCESSFUL YouTuber please join FREE Webinar ***$$$🌍🌍
------------------------------------------------------------------------
CONNECT WITH ME ON:

------------------------------------------------------------------------
#servlet #EclipseIDE #webproject #eclipse #eclipse #Java #JavaBase #JavaCoding #EclipseDownload #JavaProgramming #JavaIDE #Coding #ProgrammingChannel #java #cscornersunitarai

Subscribe to my channel for more videos and hit the bell icon to never miss an update in the future.
Also don't forget to LIKE & COMMENT.
Stay tuned!
Рекомендации по теме
Комментарии
Автор

*_Because of Tomcat Server 10 you'll get error in web.xml. I have resolved this error and it's working 100%. Do let me know whether you're also getting error or not._*

CSCORNERSunitaRai
Автор

How come I always find u in solving the beginner errors and just like that ..Boom solved!!
Thankq so much mam

saiv
Автор

Ma'am iam getting error in XML version="" in this place.. my tomcat web.xml and project web.xml are same nothing difference but it showing error and project is not running what can I do now? Can you explain pls

purushothamranjith
Автор

Mam I have this error in tomcat9.0 how to resolve this .the error mention in web browser but in web.xml file look clear and project seems cross mark😢

thamizhmano
Автор

Hello I was having problem with xml schema location except name space so I did same procedure but it is now showing error near xml version tag and shows file have multiple error so how to fix that

rajeshwaraudurti
Автор

Hi @CSCORNERSunitaRai,
I tried as u had stated, but i get the error still in the same way :
cvc-elt.1.a: Cannot find the declaration of element 'web-app'.
Could you please help me mam?

kanmaniangel
Автор

hi mam when i open web.xml file, it is showing error as failed to create the parts control. How to rectify it

sababu
Автор

under web-app. I create <servlet></servlet> and then it shows an error in the beginning of the word servlet. How to fix this?

henry
Автор

You explains so well ma'am 👍👍. Thanks so much😊

SimplySuman
Автор

Thanks alot mam, mai 2din se pareshan tha, your explaination is so well

sumittripathi
Автор

Thanks for helping again for removing the space in server .XML sheet.👍🏼👍🏼👍🏼

vallalalakshminarasimharao
Автор

Do we need to close the Tomcat server manually before closing Eclipse IDE or it will close automatically?PLEASE REPLY ASAP

DebojyotiDey-snlb
Автор

Mam for me in deployment descriptor showing error as "error pages" when I created the project pls help mam

kavyahk
Автор

Maven Error Could not initialize class mam please solve the above error occure in maven.web arch type project in pom.xml file

misalmncomps
Автор

Mam, I am using GlassFish server. When going to create servlets, "Web application version unsupported. Upgrade web.xml to newer version " is being shown. Please help me out.

sandhyatoppo
Автор

I facing another problem which is web dot XML file does not work because there is no writing or editing option ..I will send you a screenshot on telegram ....please help me

md.tajulislampradhan
Автор

i am facing problem in my xml file that i can't write code in the xml file

vishaladhikari
Автор

You are a life saver. Perfectly understood

suryakumar
Автор

Thank you very much, don't stop making videos

GamingBusterOneAndOnly
Автор

Super ma'am. I am also getting this kind of error. Really helpful thanks a lot.

vigneshk