nilsmagnus / wsdl2java

Gradle plugin for generating java source from wsdl files
MIT License
143 stars 77 forks source link

issue with commons-io #120

Open ankurmarfatia opened 3 years ago

ankurmarfatia commented 3 years ago

I have commons-io in my classpath, which is needed for another gradle plugin. This cause the following error:

> Task :abcd:wsdl2java
configuration key 'class.resource.loader.class' has been deprecated in favor of 'resource.loader.class.class'
configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
org/apache/cxf/tools/wsdlto/frontend/jaxws/template/sei.vm: Encountered "generated" at line 24, column 12.
Was expecting one of:
    "[" ...
    "{" ...
    "(" ...
    <WHITESPACE> ...
    <NEWLINE> ...
    <STRING_LITERAL> ...
    "true" ...
    "false" ...
    "-" ...
    <LOGICAL_NOT> ...
    <INTEGER_LITERAL> ...
    <FLOATING_POINT_LITERAL> ...
    <IDENTIFIER> ...
    <OLD_IDENTIFIER> ...
    "{" ...

ResourceManager: parse exception: Encountered "generated" at org/apache/cxf/tools/wsdlto/frontend/jaxws/template/sei.vm[line 24, column 12]
Was expecting one of:
    "[" ...
    "{" ...
    "(" ...
    <WHITESPACE> ...
    <NEWLINE> ...
    <STRING_LITERAL> ...
    "true" ...
    "false" ...
    "-" ...
    <LOGICAL_NOT> ...
    <INTEGER_LITERAL> ...
    <FLOATING_POINT_LITERAL> ...
    <IDENTIFIER> ...
    <OLD_IDENTIFIER> ...
    "{" ...

> Task :abcd:wsdl2java FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':abcd:wsdl2java'.
> Could not find Velocity template file: org/apache/cxf/tools/wsdlto/frontend/jaxws/template/sei.vm