How to generate classes from wsdl using Maven and wsimport?

后端 未结 7 893
时光说笑
时光说笑 2020-12-01 00:35

When I attempt to run \"mvn generate-sources\" this is my output :

SLF4J: Failed to load class \"org.slf4j.impl.StaticLoggerBinder\".
SLF4J: Defaulting to n         


        
7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 00:38

    The key here is keep option of wsimport. And it is configured using element in About keep from the wsimport documentation :

    -keep                     keep generated files
    

提交回复
热议问题