I am trying to learn OFBiz 16.11, but I am facing an error when adding a new plugin and tying to access it using its url.
: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_US] (Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US]) (Error rendering screen [component://ofbizDemo/widget/CommonScreens.xml#main-decorator]: java.lang.IllegalArgumentException: Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US] (Could not find resource bundle [OfbizDemoUiLabels] in the locale [en_US]))
I ran the following commands to create a new plugin:
--Initialize OFBiz and load demo data
gradlew cleanAll loadDefault ofbiz
--Add new plugin
gradlew createPlugin -PpluginId=ofbizDemo
--Apply changes and run OFBiz
gradlew loadDefault ofbiz
I am currently testing OFBiz using Windows 10. New plugin URL: https://localhost:8443/ofbizDemo
Is there any missing step during the creation of the new plugin which is causing this error message?
Note that the above commands can be found in OFBiz tutorial document: Tutorial Document
I checked the OfbizDemoUiLabels.xml file and it exists in its correct location.