今天用idea的maven指令啟動jetty插件時報錯
[WARNING] 錯誤的路徑元素 "E:\.xkeshi\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-core.jar": 沒有這種檔案或目錄
D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\controller\h5\PaymentController.java:[53,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
[WARNING] D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\response\h5\OrderPayResponse.java:[5,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
[WARNING] 警告: 沒有處理程式要使用以下任何注釋: org.springframework.web.bind.annotation.PathVariable,org.springframework.validation.annotation.Validated,org.springframework.web.bind.annotation.RequestParam,javax.annotation.Resource,com.alibaba.fastjson.annotation.JSONField,org.springframework.web.bind.annotation.RequestMapping,org.springframework.beans.factory.annotation.Autowired,com.xkeshi.webkits.annotations.Login,org.springframework.stereotype.Controller,org.springframework.web.bind.annotation.ResponseBody,javax.validation.constraints.NotNull,javax.validation.Valid,org.springframework.web.bind.annotation.RequestBody,org.springframework.beans.factory.annotation.Value,org.springframework.stereotype.Component,com.xkeshi.webkits.annotations.Authentication,com.xkeshi.webkits.annotations.Logout
D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\controller\h5\PaymentController.java:[53,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
[WARNING] D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\response\h5\OrderPayResponse.java:[5,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
[WARNING] D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\controller\h5\PaymentController.java:[53,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
[WARNING] D:\xkeshisrc\wemall\wemall-openapi\src\main\java\com\xkeshi\wemall\response\h5\OrderPayResponse.java:[5,33] [deprecation] com.xkeshi.wemall.dtos.pay中的WxAppPayDto已過時
剛開始以為是maven沖突導緻的,打開pom檔案依賴關系圖把jaxb-core.jar exclude掉後繼續報
錯誤的路徑元素 "E:\.xkeshi\repository\com\sun\xml\bind\jaxb-impl\2.2.11\jaxb-api.jar": 沒有這種檔案或目錄
把本地的maven庫删掉重新下載下傳一份還是會出現這個問題,重裝一遍idea(成本略高各種配置)還是不行,最後發現原來是maven的編譯jdk是idea的預設jdk要改成自己配置的jdk才行,汗【dog臉】踩了接近兩天的坑

最後rebulid moudle下再重新開機jetty
如果出現dubbo服務接口不存在,就到本地的maven庫裡去删除對應的moudle項目生成的jar包再reimport所有的moudle
idea的版本建議用2016,2017的破解麻煩,免費版的有些功能受限用起來不順手