javac cannot find symbol constructor Service

后端 未结 3 528
深忆病人
深忆病人 2021-01-02 12:53

I am in the process of learning CXF with the help of this Apache CXF Web Service Development book but, alas, one of the book\'s sample projects won\'t even compile!

3条回答
  •  猫巷女王i
    2021-01-02 13:26

    Endorsing the 2.2 version of the jaxws-api jar should work. You could also pass the "-fe jaxws21" flag to the CXF wsdl2java command to make it generate 2.1 compatible code instead.

提交回复
热议问题