servlet packages not importing after converting project to maven project in eclipse
问题 I have a dynamic web application that I've converted to a maven project in Spring Toolsuite (Eclipse, basically.) The project now has a pom.xml file, but the Java Build Path no longer has the jars I used to use because maven is supposed to handle the dependencies. I put the dependencies in the pom like this: <dependencies> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>(,1.0]</version> </dependency> </dependencies> and I included a repository like