使用Maven构建时的ZoneInfoFile NoClassDefFoundError

时间:2018-11-13 10:44:55

标签: java maven

我有Java web aoolication,当运行命令mvn install时,它会因错误而中断

java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile

Maven和Java信息

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T20:33:14+02:00)
Maven home: C:\apache-maven-3.5.4\bin\..
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

0 个答案:

没有答案