[ 
https://issues.apache.org/jira/browse/OFBIZ-9223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16010611#comment-16010611
 ] 

Mike Butler edited comment on OFBIZ-9223 at 5/15/17 2:32 PM:
-------------------------------------------------------------

Hello Laurent

The work around I have used is: 
edit the MyPlugin/config/MyPluginUiLabels.xml 
Copy the lines with your language in your case = zh 
Change each copied line to zh-TW

In my case it was en to en-GB

Why! I do not know however that means the UiLabels are found.
Looks like a problem with WIndow10, as the  command works as expected in Linux
Regards
Mike Butler

 


was (Author: mikeysb1):
Hello Laurent

The work around I have used is: 
edit the MyPlugin/config/MyPluginUiLabels.xml 
Copy the lines with your language in your case = zh 
Change each copied line to zh-TW

Why! I do not know however that means the UiLabels are found.
Looks like a problem with WIndow10, as the  command works as expected in Linux
Regards
Mike Butler

 

> createPlugin in 16.11 causes location error in browser
> ------------------------------------------------------
>
>                 Key: OFBIZ-9223
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9223
>             Project: OFBiz
>          Issue Type: Bug
>          Components: Gradle
>    Affects Versions: Trunk, 16.11.01
>         Environment: Windows 10, Lenovo Yoga 900 i7 64bit,  
>            Reporter: Mike Butler
>            Priority: Minor
>
> SVN download to D:/ofbiz folder
> in command window:
> gradlew eclipse
> gradlew createPlugin -PpluginId=ofbizdemo
> gradlew cleanAll loadDefault
> gradlew ofbiz
> Wait until "building ->91% :ofbiz"  and no further load activity (why does 
> this stop at 91% ?)
> in browser https://localhost:8443/webtools to test ofbiz is functioning. - 
> get signon screen
> https://localhost:8443/ofbizdemo -> error
> :ERROR MESSAGE:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering 
> screen [component://common/widget/CommonScreens.xml#login]: 
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering 
> screen [component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
> java.lang.IllegalArgumentException: Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen 
> [component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
> java.lang.IllegalArgumentException: Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB])):ERROR MESSAGE:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering 
> screen [component://common/widget/CommonScreens.xml#login]: 
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering 
> screen [component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
> java.lang.IllegalArgumentException: Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB]) (Error rendering screen 
> [component://ofbizdemo/widget/CommonScreens.xml#main-decorator]: 
> java.lang.IllegalArgumentException: Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB] (Could not find resource bundle 
> [OfbizdemoUiLabels] in the locale [en_GB]))
> I have compared 16:11 component to 15.12 creatComponnent.  Can see no obvious 
> cause. OfbizDemoUiLabels are there in config but no locale  [en_GB] exists.
> Only differences that I see are in WEB-INF/web.xml 
> Problem exists in browsers Edge, Chrome & Firefox.
> Problem DOE NOT exist in firefox when ofbiz is installed in Ubuntu in 
> VirtualBox.  
> I think the problem may be due to different Java sdk's
> Windows : java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
> Ubuntu : openjdk version "1.8.0_121"
> OpenJDK Runtime Environment (build 1.8.0_121-8u121-b13-ubuntu1.16.04.2-b13
> OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to