NutzCN Logo
问答 at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap
发布于 2128天前 作者 Hamming 2474 次浏览 复制 上一个帖子 下一个帖子
标签:
"C:\Program Files\Java\jdk-11.0.2\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62154,suspend=y,server=n -Dmaven.multiModuleProjectDirectory=D:\IdeaProjects\nutzsite "-Dmaven.home=D:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\plugins\maven\lib\maven3" "-Dclassworlds.conf=D:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\plugins\maven\lib\maven3\bin\m2.conf" -javaagent:C:\Users\Haimming\.IntelliJIdea2018.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "D:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar;D:\Program Files\JetBrains\IntelliJ IDEA 2018.3.4\lib\idea_rt.jar" org.codehaus.classworlds.Launcher -Didea.version=2018.3.4 nutzboot:run
Connected to the target VM, address: '127.0.0.1:62154', transport: 'socket'
[INFO] Scanning for projects...
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-parent/2.3-SNAPSHOT/maven-metadata.xml (598 B at 0.7 KB/sec)
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for io.nutz:nutzsite:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nutz:nutzboot-starter-nutz-dao:jar -> duplicate declaration of version (?) @ line 73, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/boot/nutzboot-maven-plugin/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/boot/nutzboot-maven-plugin/2.3-SNAPSHOT/maven-metadata.xml (2 KB at 3.1 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building nutzsite 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-swagger/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-swagger/2.3-SNAPSHOT/maven-metadata.xml (992 B at 5.4 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter/2.3-SNAPSHOT/maven-metadata.xml (599 B at 3.6 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-core/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-core/2.3-SNAPSHOT/maven-metadata.xml (981 B at 5.4 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 7.0 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-mvc/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-mvc/2.3-SNAPSHOT/maven-metadata.xml (993 B at 4.3 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-dao/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-nutz-dao/2.3-SNAPSHOT/maven-metadata.xml (993 B at 4.7 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 6.9 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.67-SNAPSHOT/maven-metadata.xml (597 B at 2.7 KB/sec)
[WARNING] The POM for com.alibaba:druid:jar:1.1.12 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-quartz/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-quartz/2.3-SNAPSHOT/maven-metadata.xml (991 B at 5.9 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 7.0 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-tomcat/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-tomcat/2.3-SNAPSHOT/maven-metadata.xml (991 B at 5.9 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-servlet3/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-servlet3/2.3-SNAPSHOT/maven-metadata.xml (985 B at 4.6 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-websocket/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-websocket/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 4.6 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-shiro/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-shiro/2.3-SNAPSHOT/maven-metadata.xml (990 B at 5.6 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-shiro/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-shiro/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 7.2 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 7.1 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.67-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.67-SNAPSHOT/maven-metadata.xml (2 KB at 7.3 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-thymeleaf/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-thymeleaf/2.3-SNAPSHOT/maven-metadata.xml (994 B at 5.9 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-email/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-email/2.3-SNAPSHOT/maven-metadata.xml (990 B at 6.0 KB/sec)
Downloading: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-jdbc/2.3-SNAPSHOT/maven-metadata.xml
Downloaded: http://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzboot-starter-jdbc/2.3-SNAPSHOT/maven-metadata.xml (989 B at 5.8 KB/sec)
[INFO] 
[INFO] --- nutzboot-maven-plugin:2.3-SNAPSHOT:run (default-cli) @ nutzsite ---
[WARNING] 
java.lang.NullPointerException
	at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)
	at java.base/java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1541)
	at java.base/java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:667)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:568)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:270)
	at java.base/java.lang.Thread.run(Thread.java:834)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.393 s
[INFO] Finished at: 2019-02-24T21:19:09+08:00
[INFO] Final Memory: 15M/57M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.nutz.boot:nutzboot-maven-plugin:2.3-SNAPSHOT:run (default-cli) on project nutzsite: An exception occured while executing the Java class. null: NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Disconnected from the target VM, address: '127.0.0.1:62154', transport: 'socket'

Process finished with exit code 1

5 回复

maven版本低吧

maven 下载 最新的3.6.0也是同样的错误

<packaging>war</packaging>

nutzboot项目的package必须是jar

另外, nutzboot-starter-nutz-dao 写重复了

添加回复
请先登陆
回到顶部