首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Liferay 6.1主题-外观

Liferay 6.1主题-外观
EN

Stack Overflow用户
提问于 2012-10-18 20:57:55
回答 2查看 4.8K关注 0票数 0

我有liferay look-and-file.xml文件:

代码语言:javascript
复制
<?xml version="1.0"?>
<!DOCTYPE look-and-feel PUBLIC "-//Liferay//DTD Look and Feel 6.1.0//EN"
"http://www.liferay.com/dtd/liferay-look-and-feel_6_1_0.dtd">

<look-and-feel>
    <compatibility>
       <version>6.1.10+</version>
    </compatibility>
    <theme id="sample-theme" name="Sample Theme">
       <settings>
         <setting key="portlet-setup-show-borders-default" value="false" />
       </settings>
    </theme>
</look-and-feel>

我使用maven来构建我的项目并构建成功。

但是当我在Eclipse中打开localhost时,我看到:

代码语言:javascript
复制
[ThemeLocalServiceImpl:149] No theme found for specified theme id sample_WAR_sampletheme. Returning the default theme.

怎么啦?

EN

回答 2

Stack Overflow用户

发布于 2013-07-16 17:25:55

只需在Liferay-6.1.10/tomcat-7.0.27/webapps/sample_WAR_sampletheme/META-INF/context.xml.中删除属性antiJarLocking并将antiResourceLocking设置为falseRead more here

票数 3
EN

Stack Overflow用户

发布于 2013-01-16 22:31:59

这是Tomcat7中antiResourceLocking的一个问题。

请查看博客:No theme found for specified theme id … Returning the default theme

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12955274

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档