<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-jaxrs</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-client</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<
dependency
>
<
groupId
>javax.validation</
groupId
>
<
artifactId
>validation-api</
artifactId
>
<
version
>1.0.0.GA</
version
>
</
dependency
>
<!-- 如果要使用json序列化 -->
<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-jackson-provider</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<!-- 如果要使用xml序列化 -->
<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-jaxb-provider</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<!-- 如果要使用netty server -->
<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-netty</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<!-- 如果要使用Sun HTTP server -->
<
dependency
>
<
groupId
>org.jboss.resteasy</
groupId
>
<
artifactId
>resteasy-jdk-http</
artifactId
>
<
version
>3.0.7.Final</
version
>
</
dependency
>
<!-- 如果要使用tomcat server -->
<
dependency
>
<
groupId
>org.apache.tomcat.embed</
groupId
>
<
artifactId
>tomcat-embed-core</
artifactId
>
<
version
>8.0.11</
version
>
</
dependency
>
<
dependency
>
<
groupId
>org.apache.tomcat.embed</
groupId
>
<
artifactId
>tomcat-embed-logging-juli</
artifactId
>
<
version
>8.0.11</
version
>
</
dependency
>