Note the scope: "provided". That says that these 2 dependencies are provided at runtime by Tomcat and that Maven must NOT include copies of them in the resulting WAR file. Maven will use reference copies of them for compiling.
Also note that you must not attempt to build a WAR using versions of these dependencies that are not compliant with the versions actually in place in the target server.
An IDE is no substitute for an Intelligent Developer.