Home » Java » The package javax.servlet.http is accessible from more than one module: servlet.api, tomcat.i18n.es, tomcat.i18n.fr, tomcat.i18n.ja

The package javax.servlet.http is accessible from more than one module: servlet.api, tomcat.i18n.es, tomcat.i18n.fr, tomcat.i18n.ja

Posted by: admin October 23, 2018 Leave a comment

Questions:

While I’m Running my index.html file I’m getting a Error
Which looks like thisenter image description here

And after checking all the files(web.xml,index.html and the java servlet)file I found this

enter image description here

Which says

“The package javax.servlet.http is accessible from more than one module: servlet.api, tomcat.i18n.es, tomcat.i18n.fr,
tomcat.i18n.ja”

What to do?

Edit:

enter image description here

Answers: