-
Mar 6th, 2011, 04:42 AM
#1
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules