pom.xml に依存関係を追加しようとすると、結果は常にゼロになります。同様に、「log4j」と入力すると、依存関係の選択 UI に「log4j」の結果が表示されます (0) 中央リポジトリから結果を検索するにはどうすればよいですか? これは私のsettings.xmlです:
<?xml version="1.0" encoding="UTF-8"?>
<settings
xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>G:/Maven/repository</localRepository>
<pluginGroups>
</pluginGroups>
<proxies>
</proxies>
<servers>
</servers>
<mirrors>
</mirrors>
<profiles>
</profiles>
</settings>