From: Lane S. <la...@op...> - 2005-11-02 18:11:31
|
Hi Holger, webmacro.properties needs to be in the classpath. Lane Holger King wrote: > Hi group, > > is it possible to change the location of the webmacro-specific > configuration file "WebMacros.properties" from WEB-INF/classes to > WEB-INF/classes/appconfig. Of course, then it's stored out of the > classpath. But how to tell the application to find it there? I always > get the following error message: > > 2005-11-02 12:02:18,964 Klasse: WebMacroServlet * wm * - Unable to > load resource > org.webmacro.NotFoundException: > org.webmacro.resource.BrokerTemplateProviderHelper@970c0e could not > locate 128776 > at > org.webmacro.resource.BrokerTemplateProviderHelper.load(BrokerTemplateProviderHelper.java:148) > > at > org.webmacro.resource.TemplateProvider.load(TemplateProvider.java:175) > at > org.webmacro.resource.CachingProvider.load(CachingProvider.java:111) > at > org.webmacro.resource.SMapCacheManager.get(SMapCacheManager.java:244) > at > org.webmacro.resource.CachingProvider.get(CachingProvider.java:101) > at org.webmacro.WM.getTemplate(WM.java:261) > at org.webmacro.servlet.WMServlet.getTemplate(WMServlet.java:372) > at > de.dig.albatros.webmacro.WebMacroServlet.handle(WebMacroServlet.java:101) > at org.webmacro.servlet.WMServlet.doRequest(WMServlet.java:255) > at org.webmacro.servlet.WMServlet.doGet(WMServlet.java:195) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > But I'm sure, you can help me! Thanx in advance! > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |