[opencms-dev] fail in export template resource file style.css in opencms 8.0.2

曾昭沛 zengzpi at gmail.com
Thu Sep 15 04:15:23 CEST 2011


Hello every body:

 I recently update my site to opencms 8.0.2. When I export all file to VFS,
I set the export property [true] of  the
file:
/system/modules/com.alkacon.opencms.v8.template3/resources/css/style.css,
but receive the flowing error when access the online project pages, which
does not happen in offline project.

org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource
"/.content/style".
    at
org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:2170)
    at
org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:7310)
    at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:6772)
    at
org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4591)
    at org.opencms.file.CmsObject.readResource(CmsObject.java:2834)
    at org.opencms.file.CmsObject.readFile(CmsObject.java:2248)
    at org.opencms.file.CmsObject.readFile(CmsObject.java:2219)
    at
org.opencms.file.collectors.CmsDefaultResourceCollector.getSingleFile(CmsDefaultResourceCollector.java:325)
    at
org.opencms.file.collectors.CmsDefaultResourceCollector.getResults(CmsDefaultResourceCollector.java:166)
    at
org.opencms.jsp.CmsJspTagContentLoad.init(CmsJspTagContentLoad.java:515)
    at
org.opencms.jsp.CmsJspTagContentLoad.doStartTag(CmsJspTagContentLoad.java:228)
    at
org.apache.jsp.WEB_002dINF.jsp.online.system.modules.com_alkacon_opencms_v8_template3.resources.css.style_css_jsp._jspx_meth_cms_005fcontentload_005f0(style_css_jsp.java:607)

so I want to know:
1, can I export jsp file like style.css.jsp?
2, why differences happen between online project and offline project?

thanks!

zengzp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110915/e0f6966a/attachment.htm>


More information about the opencms-dev mailing list