在https://www.webjars.org/中导入jquery后,pom.xml中显示jquery为红色,无法直接访问。 解决方法:右击pom.xml,选maven,选reload project重新载入项目,然后就能正常运行。 相关文章: 2021-08-19 2021-11-16 2021-08-16 2022-12-23 2021-08-24 2022-01-11 2021-11-11 2022-12-23