当前位置:   article > 正文

eclipse导入maven报错_使用IDEA本地环境报错常见问题

eclipse导入maven报错_使用IDEA本地环境报错常见问题

1. Error:java: java.lang.ExceptionInInitializerError

1.1 问题截图(图片是网上爬的,报错是一样的)

058bab424a1cdc7fe2c7c3b40bb40e43.png

1.2 问题解决

是idea配置的JDK的版本的兼容问题

1. Java Compiler 调整一下jdk版本

878b077fbee868187dc46e6b4b6b32d8.png

2. 涉及到的jdk都需要调整成一致的版本

3ed1939b2fd0b443ad6b9cb11ec20372.png

2. OutOfMemoryError: insufficient memory in IntelliJ?

2.2 问题解决

1.把对应的进程堆调大一点即可解决

631df35f06918c7c7bd0aa1c991b046e.png

3.本地报如下错误如何解决

011a2ced00fbbe21ed369533a1881653.png
  1. org.eclipse.jetty.util.MultiException: Multiple exceptions at
  2. org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations (AnnotationConfiguration.java:537) at
  3. org.eclipse.jetty.annotations.AnnotationConfiguration.configure (AnnotationConfiguration.java:448) at
  4. org.eclipse.jetty.webapp.WebAppContext.configure (WebAppContext.java:479) at
  5. org.eclipse.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1337) at
  6. org.eclipse.jetty.server.handler.ContextHandler.doStart (ContextHandler.java:741) at
  7. org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:505) at
  8. org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart (JettyWebAppContext.java:366) at
  9. org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68) at
  10. org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132) at
  11. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114) at
  12. org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61) at
  13. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:163) at
  14. org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68) at
  15. org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132) at
  16. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114) at
  17. org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61) at
  18. org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68) at
  19. org.eclipse.jetty.util.component.ContainerLifeCycle.start (ContainerLifeCycle.java:132) at
  20. org.eclipse.jetty.server.Server.start (Server.java:387) at
  21. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart (ContainerLifeCycle.java:114) at
  22. org.eclipse.jetty.server.handler.AbstractHandler.doStart (AbstractHandler.java:61) at
  23. org.eclipse.jetty.server.Server.doStart (Server.java:354) at
  24. org.eclipse.jetty.maven.plugin.JettyServer.doStart (JettyServer.java:73) at
  25. org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:68) at
  26. org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:535) at
  27. org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:358) at
  28. org.eclipse.jetty.maven.plugin.JettyRunMojo.execute (JettyRunMojo.java:167) at
  29. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at
  30. org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at
  31. org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at
  32. org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) at
  33. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) at
  34. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81) at
  35. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56) at
  36. org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128) at
  37. org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at
  38. org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at
  39. org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at
  40. org.apache.maven.cli.MavenCli.execute (MavenCli.java:956) at
  41. org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288) at
  42. org.apache.maven.cli.MavenCli.main (MavenCli.java:192) at
  43. sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at
  44. sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at
  45. sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at
  46. java.lang.reflect.Method.invoke (Method.java:498) at
  47. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at
  48. org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at
  49. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at
  50. org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) at
  51. org.codehaus.classworlds.Launcher.main (Launcher.java:47) Caused by: org.eclipse.jetty.util.MultiException: Multiple exceptions at
  52. org.eclipse.jetty.annotations.AnnotationParser.parseJar (AnnotationParser.java:899) at
  53. org.eclipse.jetty.annotations.AnnotationParser.parse (AnnotationParser.java:831) at
  54. org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call (AnnotationConfiguration.java:164) at
  55. org.eclipse.jetty.annotations.AnnotationConfiguration$1.run (AnnotationConfiguration.java:549) at
  56. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635) at
  57. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555) at
  58. java.lang.Thread.run (Thread.java:748) Caused by: java.lang.RuntimeException: Error scanning entry org/jboss/byteman/agent/JigsawAccessEnablerGenerator.class from jar file:/Users/yuchenglong03/.m2/repository/org/jboss/byteman/byteman/4.0.4/byteman-4.0.4.jar at
  59. org.eclipse.jetty.annotations.AnnotationParser.parseJar (AnnotationParser.java:913) at
  60. org.eclipse.jetty.annotations.AnnotationParser.parse (AnnotationParser.java:831) at
  61. org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call (AnnotationConfiguration.java:164) at
  62. org.eclipse.jetty.annotations.AnnotationConfiguration$1.run (AnnotationConfiguration.java:549) at
  63. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635) at
  64. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555) at
  65. java.lang.Thread.run (Thread.java:748) Caused by: java.lang.IllegalArgumentException at
  66. org.objectweb.asm.ClassReader. (Unknown Source) at
  67. org.objectweb.asm.ClassReader. (Unknown Source) at
  68. org.objectweb.asm.ClassReader. (Unknown Source) at
  69. org.eclipse.jetty.annotations.AnnotationParser.scanClass (AnnotationParser.java:973) at
  70. org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry (AnnotationParser.java:956) at
  71. org.eclipse.jetty.annotations.AnnotationParser.parseJar (AnnotationParser.java:909) at
  72. org.eclipse.jetty.annotations.AnnotationParser.parse (AnnotationParser.java:831) at
  73. org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call (AnnotationConfiguration.java:164) at
  74. org.eclipse.jetty.annotations.AnnotationConfiguration$1.run (AnnotationConfiguration.java:549) at
  75. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:635) at
  76. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run (QueuedThreadPool.java:555) at
  77. java.lang.Thread.run (Thread.java:748)

3.2 问题解决

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/124459
推荐阅读
相关标签
  

闽ICP备14008679号