[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-6909) "Getting Started Guide" example code cannot be run successfully

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Jan 11 13:13:16 EST 2012


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-6909.
-------------------------------


Prepping 4.0.1

> "Getting Started Guide" example code cannot be run successfully
> ---------------------------------------------------------------
>
>                 Key: HHH-6909
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6909
>             Project: Hibernate Core
>          Issue Type: Bug
>            Reporter: vector
>            Assignee: Steve Ebersole
>            Priority: Minor
>             Fix For: 4.0.1
>
>          Time Spent: 25m
>
> After downloaded sample code as mentioned in http://docs.jboss.org/hibernate/core/3.6/quickstart/en-US/html/hibernate-gsg-preface.html, it cannot be run successfully by executing "mvn test", saying cannot find Event.hbm.xml.
> The cause is the testResource directory name in root pom.xml was typed as "src/main/java", while the correct one should be "src/test/java", according to the code structure.
>     <build>
>         <testResources>
>             <testResource>
>                 <filtering>false</filtering>
>                 <directory>src/main/java</directory>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list