Closed caihuaxue closed 5 years ago
xxl-rpc-sample-client和xxl-rpc-sample-server这两个spring boot独立小模块,maven打包之后生成的jar包不能直接在linux终端中运行,原因是依赖的第三方jar不能打进去最终的jar包里面去。所以建议作者修改下这两个模块的pom.xml文件,以xxl-rpc-sample-server为例,在pom.xml里添加如下内容:
`
` 这样子最终在linux终端输入java -jar xxl-rpc-server.jar就可以直接运行起来了。
感谢反馈!springboot类型示例项目pom已更新,可以重新pull master分支体验。
xxl-rpc-sample-client和xxl-rpc-sample-server这两个spring boot独立小模块,maven打包之后生成的jar包不能直接在linux终端中运行,原因是依赖的第三方jar不能打进去最终的jar包里面去。所以建议作者修改下这两个模块的pom.xml文件,以xxl-rpc-sample-server为例,在pom.xml里添加如下内容:
`
` 这样子最终在linux终端输入java -jar xxl-rpc-server.jar就可以直接运行起来了。