报type javax.servlet.ServletContext cannot be resolved问题.

Multiple markers at this line
    - The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced 
     from required .class files
    - The type javax.servlet.ServletException cannot be resolved. It is indirectly 
     referenced from required .class files

 

缺少jar包  引入可以解决


            javax.servlet.jsp
            jsp-api
            ${jsp.version}
            provided
        

        
            javax.servlet
            javax.servlet-api
            ${servlet.version}
            provided
        

你可能感兴趣的:(报type javax.servlet.ServletContext cannot be resolved问题.)