maven -install后,项目始终无法编译通过,IDEA显示以下信息:
错误信息如下:
2022-09-22 12:07:18,225 [ 67915] ERROR - #org.jetbrains.idea.maven - IntelliJ IDEA 2018.3.3 Build #IU-183.5153.38
2022-09-22 12:07:18,226 [ 67916] ERROR - #org.jetbrains.idea.maven - JDK: 1.8.0_152-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2022-09-22 12:07:18,226 [ 67916] ERROR - #org.jetbrains.idea.maven - OS: Windows 10
2022-09-22 12:07:18,230 [ 67920] ERROR - #org.jetbrains.idea.maven - Last Action: Maven.DownloadAllSourcesAndDocs
2022-09-22 12:07:18,296 [ 67986] INFO - tellij.openapi.util.IconLoader - replace '/general/balloonError.svg' with '/icons/general/balloonError.svg'
2022-09-22 12:10:25,581 [ 255271] WARN - ConfigurableExtensionPointUtil - use other group instead of unexpected one: MybatisCodeHelperSettingGroup
2022-09-22 12:10:25,643 [ 255333] INFO - tellij.openapi.util.IconLoader - replace '/general/expandComponent.svg' with '/icons/general/expandComponent.svg'
2022-09-22 12:10:26,133 [ 255823] INFO - tellij.openapi.util.IconLoader - replace '/general/projectConfigurable.svg' with '/icons/general/projectConfigurable.svg'
2022-09-22 12:10:26,195 [ 255885] INFO - tellij.openapi.util.IconLoader - replace '/actions/help.svg' with '/icons/actions/help.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/downloads.svg' with '/icons/plugins/downloads.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/modifierInvalid.svg' with '/icons/plugins/modifierInvalid.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/modifierJBLogo.svg' with '/icons/plugins/modifierJBLogo.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/pluginLogo.svg' with '/icons/plugins/pluginLogo.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/pluginLogo_40.png' with '/icons/plugins/pluginLogo_40.png'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/pluginLogo_80.png' with '/icons/plugins/pluginLogo_80.png'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/pluginLogoDisabled_40.png' with '/icons/plugins/pluginLogoDisabled_40.png'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/pluginLogoDisabled_80.png' with '/icons/plugins/pluginLogoDisabled_80.png'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/rating.svg' with '/icons/plugins/rating.svg'
2022-09-22 12:10:26,398 [ 256088] INFO - tellij.openapi.util.IconLoader - replace '/plugins/updated.svg' with '/icons/plugins/updated.svg'
2022-09-22 12:10:29,987 [ 259677] INFO - ution.rmi.RemoteProcessSupport - Terminating: 53496/Maven3ServerImple83f00bd
2022-09-22 12:10:30,007 [ 259697] INFO - tellij.openapi.util.IconLoader - replace '/general/ellipsis.svg' with '/icons/general/ellipsis.svg'
2022-09-22 12:10:35,326 [ 265016] INFO - tellij.openapi.util.IconLoader - replace '/nodes/ppJdk.svg' with '/icons/nodes/ppJdk.svg'
2022-09-22 12:11:14,785 [ 304475] INFO - #AgreementUpdater - Error updating privacy policy: java.security.cert.CertificateException: java.security.SignatureException: Signature length not correct: got 256 but was expecting 512
2022-09-22 12:12:09,068 [ 358758] INFO - tellij.openapi.util.IconLoader - replace '/nodes/ppJar.svg' with '/icons/nodes/ppJar.svg'
2022-09-22 12:12:09,071 [ 358761] INFO - tellij.openapi.util.IconLoader - replace '/nodes/locked.svg' with '/icons/nodes/locked.svg'
2022-09-22 12:12:20,825 [ 370515] INFO - tellij.openapi.util.IconLoader - replace '/fileTypes/java.svg' with '/icons/fileTypes/java.svg'
2022-09-22 12:12:21,668 [ 371358] INFO - tellij.openapi.util.IconLoader - replace '/nodes/ppInvalid.svg' with '/icons/nodes/ppInvalid.svg'
2022-09-22 12:12:21,939 [ 371629] INFO - tellij.openapi.util.IconLoader - replace '/modules/deleteContentRoot.png' with '/icons/modules/deleteContentRoot.png'
2022-09-22 12:12:21,943 [ 371633] INFO - tellij.openapi.util.IconLoader - replace '/general/inline_edit.svg' with '/icons/general/inline_edit.svg'
2022-09-22 12:12:21,944 [ 371634] INFO - tellij.openapi.util.IconLoader - replace '/modules/deleteContentFolder.png' with '/icons/modules/deleteContentFolder.png'
2022-09-22 12:12:21,982 [ 371672] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:12:21,994 [ 371684] INFO - tellij.openapi.util.IconLoader - replace '/nodes/package.svg' with '/icons/nodes/package.svg'
2022-09-22 12:12:22,157 [ 371847] INFO - tellij.openapi.util.IconLoader - replace '/javaee/webModule.svg' with '/icons/javaee/webModule.svg'
2022-09-22 12:12:22,265 [ 371955] INFO - tellij.openapi.util.IconLoader - replace '/nodes/artifact.svg' with '/icons/nodes/artifact.svg'
2022-09-22 12:12:22,307 [ 371997] INFO - tellij.openapi.util.IconLoader - replace '/general/remove.svg' with '/icons/general/remove.svg'
2022-09-22 12:12:22,311 [ 372001] INFO - tellij.openapi.util.IconLoader - replace '/actions/copy.svg' with '/icons/actions/copy.svg'
2022-09-22 12:12:22,315 [ 372005] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/addLink.svg' with '/icons/toolbarDecorator/addLink.svg'
2022-09-22 12:12:22,317 [ 372007] INFO - tellij.openapi.util.IconLoader - replace '/modules/addExcludedRoot.svg' with '/icons/modules/addExcludedRoot.svg'
2022-09-22 12:12:28,803 [ 378493] INFO - tellij.openapi.util.IconLoader - replace '/nodes/compiledClassesFolder.svg' with '/icons/nodes/compiledClassesFolder.svg'
2022-09-22 12:12:28,806 [ 378496] INFO - tellij.openapi.util.IconLoader - replace '/nodes/javaDocFolder.svg' with '/icons/nodes/javaDocFolder.svg'
2022-09-22 12:12:28,809 [ 378499] INFO - tellij.openapi.util.IconLoader - replace '/fileTypes/archive.svg' with '/icons/fileTypes/archive.svg'
2022-09-22 12:12:54,018 [ 403708] INFO - tellij.openapi.util.IconLoader - replace '/general/questionDialog.svg' with '/icons/general/questionDialog.svg'
2022-09-22 12:13:01,624 [ 411314] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,655 [ 411345] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,684 [ 411374] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,717 [ 411407] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,740 [ 411430] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,760 [ 411450] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,794 [ 411484] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,808 [ 411498] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,827 [ 411517] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,842 [ 411532] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,860 [ 411550] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,880 [ 411570] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,896 [ 411586] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,923 [ 411613] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,950 [ 411640] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,971 [ 411661] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:01,989 [ 411679] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,003 [ 411693] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,027 [ 411717] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,050 [ 411740] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,073 [ 411763] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,100 [ 411790] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,116 [ 411806] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:02,131 [ 411821] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,002 [ 422692] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,019 [ 422709] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,036 [ 422726] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,056 [ 422746] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,070 [ 422760] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,089 [ 422779] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,102 [ 422792] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,117 [ 422807] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,127 [ 422817] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,139 [ 422829] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,152 [ 422842] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,170 [ 422860] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,184 [ 422874] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,201 [ 422891] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:13,224 [ 422914] INFO - tellij.openapi.util.IconLoader - replace '/toolbarDecorator/analyze.png' with '/icons/toolbarDecorator/analyze.png'
2022-09-22 12:13:38,761 [ 448451] ERROR - #org.jetbrains.idea.maven - com.google.inject.CreationException: Unable to create injector, see the following errors:
1) No implementation for org.apache.maven.model.path.PathTranslator was bound.
while locating org.apache.maven.model.path.PathTranslator
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.pathTranslator(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
2) No implementation for org.apache.maven.model.path.UrlNormalizer was bound.
while locating org.apache.maven.model.path.UrlNormalizer
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.urlNormalizer(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
3) No implementation for org.apache.maven.model.interpolation.ModelVersionProcessor was bound.
while locating org.apache.maven.model.interpolation.ModelVersionProcessor
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.versionProcessor(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
3 errors
java.lang.RuntimeException: com.google.inject.CreationException: Unable to create injector, see the following errors:
1) No implementation for org.apache.maven.model.path.PathTranslator was bound.
while locating org.apache.maven.model.path.PathTranslator
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.pathTranslator(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
2) No implementation for org.apache.maven.model.path.UrlNormalizer was bound.
while locating org.apache.maven.model.path.UrlNormalizer
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.urlNormalizer(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
3) No implementation for org.apache.maven.model.interpolation.ModelVersionProcessor was bound.
while locating org.apache.maven.model.interpolation.ModelVersionProcessor
for field at org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator.versionProcessor(Unknown Source)
at org.codehaus.plexus.DefaultPlexusContainer$1.configure(DefaultPlexusContainer.java:350)
原因:
IDEA版本和Maven版本不兼容导致,本地装的是2018的IDEA,只兼容Maven3.6.1前的版本。将Maven版本更换成3.6.0即可。
Maven其他版本的下载地址及3.6.0压缩包
apache-maven-3.6.0-bin.zip