我有liferay look-and-file.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.怎么啦?
发布于 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。
发布于 2013-01-16 22:31:59
这是Tomcat7中antiResourceLocking的一个问题。
请查看博客:No theme found for specified theme id … Returning the default theme
https://stackoverflow.com/questions/12955274
复制相似问题