Lukáš, On 11/30/05, Lukáš Kolísko <[EMAIL PROTECTED]> wrote: > Hello, my first message had important parts cut off (Christmas is > comming and strange things happen). So I am resending it again. >
No problem. > > I´m doing some refactoring in my publication system built on Tapestry > 3.0.3/Hibernate 3.1. I would like to use Hivemind. I initailize registry > using servlet context listener. I use modified version of ExampleUtils > from hivemind examples pack. > But when I start application using Jetty or Tomcat I always get this error: > > org.apache.hivemind.ApplicationRuntimeException: Unable to create class > $Runnable_107de669874: > Caused by: java.lang.NoSuchMethodError: > javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; > at > org.apache.hivemind.service.impl.HiveMindClassPool.toClass(HiveMindClassPool.java:75) > at > org.apache.hivemind.service.impl.CtClassSource.createClass(CtClassSource.java:84) > ... 21 more > > I was experimenting with different javaassist lib versions but it had > no effect. I am able to build hivemind and examples and run all unit > test with no problems. > > I think there is some class loader problem or I have missunderstood > some basic Hivemind implementation requirements. > This definitely looks like HiveMind is picking up the wrong version of Javassist from the classpath. Do you have multiple versions of Javassist installed? Is it possible that you're using an incompatible combination of Tapestry / HiveMind / Javassist versions? Sorry if I can't provide any better help. --knut
