我最近开始 https://spring.io/guides/tutorials/react-and-spring-data-rest/教程,我坚持“加载 JavaScript 模块示例 8”。当我添加:
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
</plugin>
在 pom.xml 中,将其突出显示为红色并显示 插件 'com.github.eirslett:frontend-maven-plugin:' 未找到 .我希望有人能帮忙。谢谢你。
最佳答案
根据 this,您可能需要在 pom 中包含插件的版本。他们的 repo 部分。
截至目前,最新版本(根据 repo 的 tags 和 mvnrepository )看起来是 1.10.3:
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.10.3</version>
...
</plugin>
...
关于java - 无法执行 com.github.eirslett,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63952630/