On 03. Jun 2006 - 12:22:16, James Carman wrote: | Okay, that's weird. I apologize for all the confusion. But, getting used | to Maven2 is not quite as easy as I had hoped. It's tough to figure out | exactly where everything is going during the build.
No problem, it's weekend and I have enough time to convert my application to the new Tapernate version... ;) | Anyway, the war that's | out there in my maven repo works on my machine by just dropping it in a | Tomcat installation's webapps directory. Let me know if it works for you. Nope, I just installed the war in my local Tomcat installation but I get the following exception: root cause: org.apache.hivemind.ApplicationRuntimeException: Unable to construct service hivemind.hibernate3.SessionFactory: Hibernate Dialect must be explicitly set [jar:file:/home/andreas/apache-tomcat/webapps/tapernate-example-0.1/WEB-INF/lib/hivemind-hibernate3-0.1-20060603.130015-5.jar!/META-INF/hivemodule.xml, line 46, column 61] org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:166) org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:140) org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69) $SessionFactory_10b9abe4d86._service($SessionFactory_10b9abe4d86.java) $SessionFactory_10b9abe4d86.openSession($SessionFactory_10b9abe4d86.java) $SessionFactory_10b9abe4d85.openSession($SessionFactory_10b9abe4d85.java) Probably this is because I didn't provide any hivemind configuration? Anyway: As my application works again this doesn't matter anymore ;) | As for your error below, do you have two service points that support the | SessionFactory interface? If so, then HiveMind can't autowire it in, since | it doesn't know which one to choose. That's the only way I can think of | that you might not have a SessionFactory with all of the jars from the | example war file in your WEB-INF/lib directory. Sorry for the excitement: I removed everything from the hivemodule.xml file but I forgot to also remove the old libraries (spring-hibernate3 and spring-transaction) *slap* Now everything works as expected ;) Kind regards, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]