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! The code in question is Chapter 3's contractfirst and it's not a typo problem because I am using the source code verbatim as downloaded from the book's support site . The 3 compilation errors point actually to a single problem: Chapter3\contractfirst\src\demo\order\OrderProcessService.java:52: cannot find symbol symbol: constructor Service(java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[]) location: class javax