Announcement Announcement Module
Collapse
No announcement yet.
booking-faces example Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • booking-faces example

    Hi,

    I'm new to Spring, but an experienced Java/JEE developer - mainly server-side.

    I'm using the SS Tool Suite (I'm also very familiar with Eclipse etc).

    I'm not an experienced Maven user (Ant-based previously)

    I loaded the booking-faces example to start with (I've used JSF before) and ran into problems.

    Eventually I pinned them down to :
    <code>
    <dependency> <!-- modified -->
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-entitymanager</artifactId>
    <version>3.4.0.GA</version>
    </dependency>
    <dependency> <!-- added -->
    <groupId>org.hibernate</groupId>
    <artifactId>ejb3-persistence</artifactId>
    <version>3.3.2.Beta1</version>
    </dependency>
    <dependency> <!-- added -->
    <groupId>org.hibernate.javax.persistence</groupId>
    <artifactId>hibernate-jpa-2.0-api</artifactId>
    <version>1.0.0.Final</version>
    </dependency>
    </code>
    and
    <code>
    <repository> <!-- added -->
    <id>JBOSS</id>
    <name>JBoss Repository</name>
    <url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
    </repository>
    </code>
    The original version of hibernate was 3.5.0-Final, but that caused ClassNotFoundException.

    I'm not dure if this is the best solution tho' - should I have done something else? It's working, but I don't want to introduce subtle errors at this early stage of my learning!

    Thanks
Working...
X