I solved this problem by using URL class instead of String. In the ScreenFlowXmlDAO class, find and replace "String location" to "URL location", you need to modify one more file which will be affected by this change. Try to compile just the petstore web source alone to debug easily. The compilation error will guide you what to change!!.