cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find bundle for base name

mythox
Champ on-the-rise
Champ on-the-rise
Hi, i'm trying Alfresco with SDK, following Jeff's guide http://ecmarchitect.com/alfresco-developer-series and seems everything is fine.  however when i was browsing to share it showed system error, eclipse log is shown as below.  Hope someone can help.  thankyou. 


2014-04-03 11:04:57,669  ERROR [surf.render.RenderService] [http-bio-8081-exec-5] Unable to process template: simple-guest
2014-04-03 11:04:57,670  ERROR [surf.render.RenderService] [http-bio-8081-exec-5] An exception occurred while rendering: slingshot-login
org.springframework.extensions.surf.exception.RendererExecutionException: WebTemplateProcessor failed to process template uri: org/alfresco/simple-guest
   at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:467)
   at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:57)
   at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:721)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:75)
   at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:134)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
   at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:85)
   at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:77)
   at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:762)
   at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:411)
   at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:250)
   at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:316)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.site.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:168)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.site.servlet.CSRFFilter.doFilter(CSRFFilter.java:320)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:378)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)
Caused by: java.util.MissingResourceException: Can't find bundle for base name alfresco.module.com.someco.tutorial.share.messages.scWorkflow, locale zh_TW
   at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1499)
   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1322)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:795)
   at org.springframework.extensions.surf.util.I18NUtil.getLocaleProperties(I18NUtil.java:476)
   at org.springframework.extensions.surf.util.I18NUtil.getMessage(I18NUtil.java:360)
   at org.springframework.extensions.surf.util.I18NUtil.getMessage(I18NUtil.java:390)
   at org.springframework.extensions.surf.util.I18NUtil.getMessage(I18NUtil.java:377)
   at org.springframework.extensions.surf.exception.PlatformRuntimeException.resolveMessage(PlatformRuntimeException.java:126)
   at org.springframework.extensions.surf.exception.PlatformRuntimeException.<init>(PlatformRuntimeException.java:99)
   at org.springframework.extensions.webscripts.WebScriptException.<init>(WebScriptException.java:54)
   at org.springframework.extensions.webscripts.processor.FTLTemplateProcessor.process(FTLTemplateProcessor.java:175)
   at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:438)
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
Your context file is not able to find out property file that is the issue.

Check out this entry in your service-custom-context.xml file

<property name="labels">
            <list>
                <value>alfresco.module.${project.artifactId}.messages.scWorkflow</value>
            </list>
        </property>


Is your scWorkflow.properties file at proper location?

mythox
Champ on-the-rise
Champ on-the-rise
thankyou Mitpatoliya, my artifactID cause the issue, i used someco.mvn.tutorial.share insteadof someco-mvn-tutorial-share which make the ResourceException.