以下命令曾经完美运行:
C:\tools\apache-cxf-3.3.1\bin\wsdl2java -client -d generated foo.wsdl
它不再与最新版本的JDK-12一起使用。 我已经下载了最新版本的Apache CXF,但仍然会出现相同的错误:
-Djava.endorsed.dirs=C:\tools\apache-cxf-3.3.1\bin\..\lib\endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
你能否提供一些关于如何解决这个问题的技巧?