Thanx,

But with maven the module as it was downloaded from sourceforge does not compile anymore...

groet, Ruud
Ruud Prein wrote:
   Hi,

   I am trying to install the Lucene module 1.7.9. After following the
   install instruction i get the following error:
   2006-05-23 23:27:23,333 INFO    org.mmbase.module.Module - Starting module
   lucenemodule
   2006-05-23 23:27:23,334 FATAL   org.mmbase.servlet.MMBaseStartThread -
   Could not instantiate the MMBase module! java.lang.NoSuchMethodError
   org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

   2006-05-23 23:27:23,334 ERROR   org.mmbase.servlet.MMBaseStartThread -
   java.lang.NoSuchMethodError:
   org.mmbase.module.Module.getModule(Ljava/lang/String;)Ljava/lang/Object;

           at
   net.sf.mmapps.modules.lucenesearch.LuceneModule.init(LuceneModule.java:93)
           at org.mmbase.module.Module.startModule(Module.java:125)
           at org.mmbase.module.Module.startModules(Module.java:317)
           at org.mmbase.module.Module.getModule(Module.java:360)
           at org.mmbase.module.Module.getModule(Module.java:334)
           at org.mmbase.module.core.MMBase.getMMBase(MMBase.java:534)
           at
   org.mmbase.servlet.MMBaseStartThread.run(MMBaseStartThread.java:40)
   It looks like the module is not compatable with mmbase 1.8 ??

Seems like that. It probably only needs recompilation. I think the
'getModule' method of Module returned Object, which was very silly, and
therefor changed to return Module now. This gives no compile time problems, but 
sadly,
it does give this kind of run-time issues....


Michel
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to