Liferay 6.1主题 - 外观和感觉

时间:2012-10-18 12:57:55

标签: liferay liferay-theme

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

<?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时,我看到了:

[ThemeLocalServiceImpl:149] No theme found for specified theme id sample_WAR_sampletheme. Returning the default theme.

有什么问题?

2 个答案:

答案 0 :(得分:3)

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

答案 1 :(得分:0)

这是tomcat 7中的antiResourceLocking问题。

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