我的Liferay的外觀和-feel.xml文件:Liferay的6.1主題 - 外觀和感覺
<?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我看到:
[ThemeLocalServiceImpl:149] No theme found for specified theme id sample_WAR_sampletheme. Returning the default theme.
什麼是錯?
重新部署主題 – Mark
如果重新部署不起作用,則將主題'id'更改爲'id =「sample」'或'id =「sampletheme」',然後重新部署並檢查。謝謝 –