2012-10-18 1 views
0

I을 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> 

내가 성공을

을 내 프로젝트를 구축하고 구축 할 수 받는다는 사용하지만이에 로컬 호스트 열 때 Eclipse 참조 :

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

무엇이 잘못 되었나요?

그것은 7

블로그를 확인하시기 바랍니다 바람둥이에 antiResourceLocking의 문제가

+1

테마를 다시 배포하십시오. – Mark

+0

재배포가 작동하지 않으면 테마 id를 id = "sample"또는 id = "sampletheme"로 변경 한 다음 다시 배포하고 확인하십시오. 감사합니다 –

답변

3

그냥 재산 antiJarLocking를 제거하고 을 Liferay-6.1.10/바람둥이 - 7.0에서 false로 antiResourceLocking 설정이 .27/webapps/sample_WAR_sampletheme/META-INF/context.xml. Read more here.

+1

이것은 효과적 일 수있는 유일한 해결책입니다. 다른 모든 사람들은 소프트웨어를 설치하려하지만 작동하지 않습니다. 나는 이런 식으로했고 지금은 아무런 문제가 없었다. :) – JohnRambo