This solves the dependency resolution problem, but it creates a new problem. I've posted the details on Hibernate's forums.
http://forum.hibernate.org/viewtopic.php?p=2362810 Thanks, Matt On 8/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > One solution may be to add the JBoss repository to the list in the pom.xml: > it seems to have everything JBoss related in it: > http://repository.jboss.com/maven2/ > > Mike > > On 8/22/07, Matt Raible <[EMAIL PROTECTED]> wrote: > > > > It looks like hibernate-entitymanager 3.2.1.ga has a similar issue - > > bug I can't find jboss-common-core in Maven's central repo: > > > > Missing: > > ---------- > > 1) jboss:jboss-common-core:jar:2.0.4.GA > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=jboss > -DartifactId=jboss-common-core \ > > -Dversion=2.0.4.GA -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > > there: mvn deploy:deploy-file -DgroupId=jboss > > -DartifactId=jboss-common-core \ > > -Dversion=2.0.4.GA -Dpackaging=jar -Dfile=/path/to/file \ > > -Durl=[url] -DrepositoryId=[id] > > > > We should probably post a message to the Hibernate Forums asking about > > upgrading and figure out why there's new dependencies. I'll take care > > of this now. > > > > Matt > > > > On 8/22/07, Michael Horwitz <[EMAIL PROTECTED]> wrote: > > > According to mvnrepository its all there: > > > > http://mvnrepository.com/artifact/org.hibernate/hibernate-commons-annotations > . > > > Looks like Hibernate have added a new package to their stack for > 3.3.0.ga? > > > > > > Mike > > > > > > On 8/22/07, Matt Raible < [EMAIL PROTECTED]> wrote: > > > > > > > > Sounds like a bug in hibernate-annotations, no? It doesn't look like > > > > this JAR is in the central Maven repo, nor does hibernate-annotations > > > > contain a dependency on it. > > > > > > > > Below are the versions of Hibernate we're currently using in AppFuse: > > > > > > > > <hibernate.version> 3.2.5.ga</hibernate.version> > > > > < > > > > hibernate.annotations.version>3.2.1.ga</hibernate.annotations.version> > > > > > > > <hibernate.entitymanager.version > >3.2.1.ga</hibernate.entitymanager.version> > > > > > > > > Why did you see the need to upgrade to 3.3.0.ga for > hibernate-annotations? > > > > > > > > Matt > > > > > > > > On 8/22/07, fadhli <[EMAIL PROTECTED]> wrote: > > > > > Hello guys, > > > > > > > > > > I've stumbled upon some trouble while upgrading my hibernate version > to > > > > > hibernate 3.2.5.ga and hibernate annotation 3.3.0.ga. If you try to > > > build > > > > > and run integration-test, this error will come out. > > > > > > > > > > ERROR - > ContextLoader.initWebApplicationContext(203) | > > > > > Context initialization failed > > > > > > > > org.springframework.beans.factory.BeanCreationException > : > > > > > Error creating bean with name 'sessionFactory' defined in URL [ > > > > > > > > > file:/E:/projects/epermit-backend-integrator/target/classes/applicationContext-dao.xml]: > > > > > Invocation of init method faile > > > > > d; nested exception is java.lang.NoClassDefFoundError: > > > > > > > > > org/hibernate/annotations/common/reflection/ReflectionManager > > > > > Caused by: > > > > > java.lang.NoClassDefFoundError : > > > > > > > > > org/hibernate/annotations/common/reflection/ReflectionManager > > > > > > > > > > > > > > > It seems that the new version of hibernate annotation needs a > particular > > > jar > > > > > file to work. If you download the hibernate annotation zip file, go > to > > > the > > > > > lib folder and you'll find a jar file named > > > > > hibernate-common-annotations.jar. Install this file > in > > > your > > > > > maven repository and include the dependency in your pom.xml file. > Then, > > > > > everything will work normally. > > > > > > > > > > > > > > > -- > > > > > /fadhli > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > -- > > http://raibledesigns.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]