Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hibernate 冬眠+;Resteasy Maven依赖_Hibernate_Maven_Dependencies_Resteasy - Fatal编程技术网

Hibernate 冬眠+;Resteasy Maven依赖

Hibernate 冬眠+;Resteasy Maven依赖,hibernate,maven,dependencies,resteasy,Hibernate,Maven,Dependencies,Resteasy,有人可以告诉我在pom.xml中集成哪些Hibernate和Resteasy依赖项? 我将使用这两个框架创建Restful web服务。我使用resteasy+hibernate for api,返回json对象,我使用以下依赖项: <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxrs</artifactId&

有人可以告诉我在pom.xml中集成哪些Hibernate和Resteasy依赖项?
我将使用这两个框架创建Restful web服务。

我使用resteasy+hibernate for api,返回json对象,我使用以下依赖项:

<dependency>
        <groupId>org.jboss.resteasy</groupId>
        <artifactId>resteasy-jaxrs</artifactId>
        <version>3.0.9.Final</version>
        <exclusions>
            <exclusion>
                <groupId>commons-httpclient</groupId>
                <artifactId>commons-httpclient</artifactId>
            </exclusion>
            <exclusion>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
            </exclusion>
            <exclusion>
                <groupId>javax.xml.bind</groupId>
                <artifactId>jaxb-api</artifactId>
            </exclusion>
            <exclusion>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.codehaus.jettison</groupId>
        <artifactId>jettison</artifactId>
        <version>1.3.7</version>
    </dependency>
    <dependency>
        <groupId>org.jboss.resteasy</groupId>
        <artifactId>resteasy-jettison-provider</artifactId>
        <version>3.0.9.Final</version>
        <exclusions>
            <exclusion>
                <groupId>javax.xml.bind</groupId>
                <artifactId>jaxb-api</artifactId>
            </exclusion>
            <exclusion>
                <groupId>com.sun.xml.bind</groupId>
                <artifactId>jaxb-impl</artifactId>
            </exclusion>
            <exclusion>
                <groupId>javax.xml.stream</groupId>
                <artifactId>stax-api</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>4.3.8.Final</version>
    </dependency>

org.jboss.resteasy
resteasy jaxrs
3.0.9.1最终版本
commons httpclient
commons httpclient
javax.servlet
servlet api
javax.xml.bind
jaxb api
com.sun.xml.bind
jaxb impl
org.codehaus.jettison
抛弃
1.3.7
org.jboss.resteasy
resteasy抛弃提供者
3.0.9.1最终版本
javax.xml.bind
jaxb api
com.sun.xml.bind
jaxb impl
javax.xml.stream
斯塔克斯api
org.hibernate
冬眠核心
4.3.8.最终版本

,我需要一个关于Maven项目中Resteasy+DAO+Hibernate的教程:/我认为单独搜索Resteasy和DAO/Hibernate会更容易。因为它们之间没有太多的关联。我知道,但是使用hibernate,我在hibernate兼容性库(pom.xml文件)方面遇到了很多问题。我相信您会找到您要搜索的内容。