【问题标题】:Plugin 'com.vaadin:vaadin-maven-plugin:23.2.1' not found Intellij Idea插件 \'com.vaadin:vaadin-maven-plugin:23.2.1\' 未找到 Intellij Idea
【发布时间】:2022-09-23 15:36:44
【问题描述】:
我的问题是它不承认
<artifactId>vaadin-maven-plugin</artifactId> 和
<version>${vaadin.version}</version> 并为这两行代码说 Plugin \'com.vaadin:vaadin-maven-plugin:23.2.1\' not found
标签:
maven
vaadin
pom.xml
intellij-plugin
【解决方案1】:
插件本身可以在 Maven Central 中找到,版本号为:https://search.maven.org/artifact/com.vaadin/vaadin-maven-plugin/23.2.1/maven-plugin
所以问题可能是您的 pluginRepositories 不包含如下内容:
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<!-- ... -->
...或者您的 IntelliJ Idea 无权访问 Maven Central。例如,您可能正在使用像 Artifactory 这样的私有存储库。
确保您也从 Maven 选项卡中单击了“重新加载所有 Maven 项目”。