[jira] [Created] (CXF-8352) missing command-line option

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CXF-8352) missing command-line option

Andriy Redko (Jira)
Nick Weiler created CXF-8352:
--------------------------------

             Summary: missing command-line option
                 Key: CXF-8352
                 URL: https://issues.apache.org/jira/browse/CXF-8352
             Project: CXF
          Issue Type: Bug
         Environment: Not working environment : 

Java version: java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
c:\Program Files\Java\jre1.8.0_251\

Default locale: en_US, platform encoding: UTF-8

OS name: "Microsoft Windows 10"
            Reporter: Nick Weiler


Hello,

I'm using version 3.3.6 but also tried 3.4.0 with this. JDK is 1.8.0_251 and operating system windows 10 (works fine on another windows 10 computer).

While executing a batch file, I get the following error:

WSDLToJava Error: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected option: -suppress-generated-date


org.apache.cxf.tools.common.ToolException: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected option: -suppress-generated-date

at org.apache.cxf.tools.common.toolspec.AbstractToolContainer.execute(AbstractToolContainer.java:180)
 at org.apache.cxf.tools.common.AbstractCXFToolContainer.execute(AbstractCXFToolContainer.java:72)
 at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:410)
 at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
 at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
 at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
 at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:184)
Caused by: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected option: -suppress-generated-date

at org.apache.cxf.tools.common.toolspec.parser.CommandLineParser.throwUsage(CommandLineParser.java:199)
 at org.apache.cxf.tools.common.toolspec.parser.CommandLineParser.parseArguments(CommandLineParser.java:174)
 at org.apache.cxf.tools.common.toolspec.AbstractToolContainer.parseCommandLine(AbstractToolContainer.java:89)
 at org.apache.cxf.tools.common.toolspec.AbstractToolContainer.execute(AbstractToolContainer.java:178)
 ... 6 more



--
This message was sent by Atlassian Jira
(v8.3.4#803005)