maven项目创建失败,有IDEA错误日志但还是找不到问题根源
2019-10-08 10:51:50,509 [1021249]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 
2019-10-08 10:51:51,396 [1022136]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 254 ms 
2019-10-08 10:53:28,265 [1119005]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 142 ms 
2019-10-08 10:53:47,104 [1137844]   WARN - .impl.LineStatusTrackerManager - Tracker for is being held on dispose by com.intellij.openapi.editor.impl.EditorImpl@5d5743a 
2019-10-08 10:53:47,104 [1137844]   WARN - .impl.LineStatusTrackerManager - Tracker for is being held on dispose by com.intellij.openapi.editor.impl.EditorImpl@40247cea 
2019-10-08 10:53:47,712 [1138452]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 103 ms 
2019-10-08 10:53:49,229 [1139969]   INFO - pl.projectlevelman.NewMappings - VCS Root: [svn] - [<Project>] 
2019-10-08 10:53:49,396 [1140136]   INFO -              PerformancePlugin - Performance Plugin is in silent mode 
2019-10-08 10:53:49,401 [1140141]   INFO - odeStyleSettingsInferComponent - settings inference skipped: already done 
2019-10-08 10:53:49,402 [1140142]   INFO - .ScalaCompilerReferenceService - Initialized ScalaCompilerReferenceService in clinic_hospital, current compiler mode = JPS 
2019-10-08 10:53:49,449 [1140189]   INFO - ution.rmi.RemoteProcessSupport - Terminating: 63844/Maven36ServerImpl9b210999 
2019-10-08 10:53:49,665 [1140405]   INFO - ge.ExternalProjectsDataStorage - Load external projects data in 1 millis (read time: 0) 
2019-10-08 10:53:49,691 [1140431]   INFO - j.ide.ui.OptionsTopHitProvider - 42 ms spent to cache options in project 
2019-10-08 10:53:49,725 [1140465]   INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 167ms; general responsiveness: ok; EDT responsiveness: ok 
2019-10-08 10:53:49,732 [1140472]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 140ms; general responsiveness: ok; EDT responsiveness: ok 
2019-10-08 10:53:49,768 [1140508]   INFO - tartup.impl.StartupManagerImpl - D:/clinic_hospital/.idea case-sensitivity: expected=false actual=false 
2019-10-08 10:53:49,877 [1140617]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 680 ms 
2019-10-08 10:53:49,914 [1140654]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 182ms; general responsiveness: ok; EDT responsiveness: ok 
2019-10-08 10:53:49,934 [1140674]   INFO - cloudConfig.CloudConfigManager - === StatusBar ignored === 
2019-10-08 10:53:50,028 [1140768]   INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles [] 
2019-10-08 10:53:50,289 [1141029]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2019.2.2/plugins/java/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_221/lib/tools.jar 
2019-10-08 10:53:50,372 [1141112]   INFO - pl.projectlevelman.NewMappings - Mapped Roots: 1 
2019-10-08 10:53:50,411 [1141151]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2019-10-08 10:53:50,411 [1141151]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 
2019-10-08 10:53:50,411 [1141151]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
2019-10-08 10:53:51,086 [1141826]   INFO - .ScalaCompilerReferenceService - [compiler indices] onCompilationStart. active indexing phases: 1 
2019-10-08 10:53:52,381 [1143121]   INFO - .ScalaCompilerReferenceService - [compiler indices] onCompilationFinish. success: true, active indexing phases: 0 
2019-10-08 10:53:52,867 [1143607]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2019.2.2/plugins/java/lib/jps-launcher.jar;C:/Program Files/Java/jdk1.8.0_221/lib/tools.jar 
2019-10-08 10:53:52,924 [1143664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2019-10-08 10:53:52,924 [1143664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 
2019-10-08 10:53:52,924 [1143664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
2019-10-08 10:53:54,965 [1145705]   INFO - ings.impl.UpdateCheckerService - channel: release 
2019-10-08 10:54:23,804 [1174544]  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)

2 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)

2 errors
    at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543)
    at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:159)
    at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
    at com.google.inject.Guice.createInjector(Guice.java:87)
    at com.google.inject.Guice.createInjector(Guice.java:69)
    at com.google.inject.Guice.createInjector(Guice.java:59)
    at org.codehaus.plexus.DefaultPlexusContainer.addComponent(DefaultPlexusContainer.java:344)
    at org.codehaus.plexus.DefaultPlexusContainer.addComponent(DefaultPlexusContainer.java:332)
    at org.jetbrains.idea.maven.server.Maven3XServerEmbedder.customizeComponents(Maven3XServerEmbedder.java:573)
    at org.jetbrains.idea.maven.server.Maven3XServerEmbedder.customize(Maven3XServerEmbedder.java:542)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359)
    at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
    at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
    at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
    at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
    at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
    at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283)
    at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260)
    at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
    at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:209)
    at java.rmi/java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:161)
    at com.sun.proxy.$Proxy185.customize(Unknown Source)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.intellij.execution.rmi.RemoteUtil.invokeRemote(RemoteUtil.java:175)
    at com.intellij.execution.rmi.RemoteUtil.access$200(RemoteUtil.java:38)
    at com.intellij.execution.rmi.RemoteUtil$1$1$1.compute(RemoteUtil.java:156)
    at com.intellij.openapi.util.ClassLoaderUtil.computeWithClassLoader(ClassLoaderUtil.java:45)
    at com.intellij.execution.rmi.RemoteUtil.executeWithClassLoader(RemoteUtil.java:227)
    at com.intellij.execution.rmi.RemoteUtil$1$1.invoke(RemoteUtil.java:153)
    at com.sun.proxy.$Proxy185.customize(Unknown Source)
    at org.jetbrains.idea.maven.server.MavenEmbedderWrapper.doCustomize(MavenEmbedderWrapper.java:92)
    at org.jetbrains.idea.maven.server.MavenEmbedderWrapper.onWrappeeCreated(MavenEmbedderWrapper.java:45)
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.getOrCreateWrappee(RemoteObjectWrapper.java:42)
    at org.jetbrains.idea.maven.server.MavenEmbedderWrapper.doCustomize(MavenEmbedderWrapper.java:92)
    at org.jetbrains.idea.maven.server.MavenEmbedderWrapper.lambda$customizeForResolve$1(MavenEmbedderWrapper.java:65)
    at org.jetbrains.idea.maven.server.RemoteObjectWrapper.perform(RemoteObjectWrapper.java:76)
    at org.jetbrains.idea.maven.server.MavenEmbedderWrapper.customizeForResolve(MavenEmbedderWrapper.java:64)
    at org.jetbrains.idea.maven.project.MavenProjectsTree.resolve(MavenProjectsTree.java:1261)
    at org.jetbrains.idea.maven.project.MavenProjectsProcessorResolvingTask.perform(MavenProjectsProcessorResolvingTask.java:45)
    at org.jetbrains.idea.maven.project.MavenProjectsProcessor.doProcessPendingTasks(MavenProjectsProcessor.java:140)
    at org.jetbrains.idea.maven.project.MavenProjectsProcessor.access$000(MavenProjectsProcessor.java:33)
    at org.jetbrains.idea.maven.project.MavenProjectsProcessor$2.run(MavenProjectsProcessor.java:114)
    at org.jetbrains.idea.maven.utils.MavenUtil.lambda$runInBackground$5(MavenUtil.java:468)
    at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
2019-10-08 10:54:23,805 [1174545]  ERROR -      #org.jetbrains.idea.maven - IntelliJ IDEA 2019.2.2  Build #IU-192.6603.28 
2019-10-08 10:54:23,805 [1174545]  ERROR -      #org.jetbrains.idea.maven - JDK: 11.0.3; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2019-10-08 10:54:23,805 [1174545]  ERROR -      #org.jetbrains.idea.maven - OS: Windows 8.1 
2019-10-08 10:54:23,810 [1174550]  ERROR -      #org.jetbrains.idea.maven - Last Action: Maven.Reimport 
2019-10-08 10:54:26,474 [1177214]   INFO - ide.actions.ShowFilePathAction - 
Exit code 1 
2019-10-08 10:54:27,591 [1178331]   INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 301 ms 

这是从IDEA错误日志上显示的,求个大神帮我找到根源

2个回答

maven版本的问题吧,用3.6.1之前的版本试试

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问