You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: 1.4.1
Build timestamp: 2021-02-16 20:28:46.190 UTC
Java version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
Tried on OpenJDK 11, Oracle JDK 8 too but came to the same exception.
Maybe the JCDP library doesn't consider that Windows 11 is compatible with Windows 10
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.web3j.console.project.utils.ProjectCreationUtils.executeProcess(ProjectCreationUtils.java:62)
at org.web3j.console.project.utils.ProjectCreationUtils.executeBuild(ProjectCreationUtils.java:49)
at org.web3j.console.project.utils.ProjectCreationUtils.generateWrappers(ProjectCreationUtils.java:32)
at org.web3j.console.project.AbstractProject.createProject(AbstractProject.java:65)
at org.web3j.console.project.kotlin.KotlinProjectRunner.generateKotlin(KotlinProjectRunner.java:50)
at org.web3j.console.project.kotlin.KotlinProjectCreatorRunner.createProject(KotlinProjectCreatorRunner.java:26) at org.web3j.console.project.ProjectRunner.run(ProjectRunner.java:86)
at org.web3j.console.project.NewProjectCommand.run(NewProjectCommand.java:55)
at picocli.CommandLine.executeUserObject(CommandLine.java:1729)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2101)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2068)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1935)
at picocli.CommandLine.execute(CommandLine.java:1864)
at org.web3j.console.Web3jCommand.parse(Web3jCommand.java:113)
at org.web3j.console.Web3j.main(Web3j.java:18)
Caused by: java.lang.UnsupportedOperationException: Your version of JCDP (v4.*) requires Windows 10 -- if you cannot upgrade, then use JCDP v3.*
at com.diogonunes.jcdp.color.ColoredPrinter.<init>(ColoredPrinter.java:56)
at com.diogonunes.jcdp.color.ColoredPrinter$Builder.build(ColoredPrinter.java:132)
at org.web3j.console.openapi.utils.PrettyPrinter.<clinit>(PrettyPrinter.kt:24)
... 16 more
The text was updated successfully, but these errors were encountered:
OS Version
Windows 11
Web3j-CLI version
Java version
Tried on OpenJDK 11, Oracle JDK 8 too but came to the same exception.
Maybe the JCDP library doesn't consider that Windows 11 is compatible with Windows 10
The text was updated successfully, but these errors were encountered: