Remko Coltof wrote: > Hello, > > I'm trying to use the mmbase 2.0 version of the taglib. I'm working > with eclipse but the autocompletion will only work with the 1.0 > version of the taglib. Strange... > > When I use this statement: > > <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-2.0" prefix="mm" %> > > I get an error stating: > The tag library uri "http://www.mmbase.org/mmbase-taglib-2.0" cannot > be mapped to an existing tld file. Make sure that the uri is > specified in the web.xml file, or is a tld file present under WEB-INF > or packaged in a jar file in the application class path. > > I'm sure there is a "mmbase-taglib-2.jar" file in the /lib dir. So > I'ver tried to map the taglib in the web.xml like this (with no > succes): > <taglib> > <taglib-uri>http://www.mmbase.org/mmbase-taglib-2.0</taglib-uri> > > <taglib-location>/WEB-INF/lib/mmbase-taglib-2.jar</taglib-location> > </taglib> > > When I change the statement to > <%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0" prefix="mm" %> > , the tag-completion is back up. What am I doing wrong here?
You need one and only one mmbase taglib jar in your lib dir. Presumably mmbase-taglib-2.jar, unless you have an app-server which is too old to handle the more modern features in it. Perhaps it went wrong because you had both? Michiel -- Michiel Meeuwissen mihxil' Peperbus 107 MediaPark H'sum []() +31 (0)35 6772979 nl_NL eo_XX en_US _______________________________________________ Users mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/users
