JAX-RS 和 Spring 整合开发

1、 建立 maven web 项目   导入 maven 坐标           导入web.xml 2、 导入实体类和 Service 3、 在 spring 配置发布 rs 服务 引入名称空间 xmlns:jaxrs="http://cxf.apache.org/jaxrs" http://cxf.apache.org/jaxrshttp://cxf.apache.org/schemas/
相关文章
相关标签/搜索