I am just strictly following the tutorial, no modifications to the code.
Yes, there is an OfbizDemoUiLabels.xml file located in the config directory.
It contains exactly what is cited in the tutorial:
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorialABeginnersDevelopmentGuide-UseofUILabels(Introduction)
This will cause the error mentioned below if you are on a German Windows 10
system. If you remove all the entries for other languages but English in
this file, it will work. If you add a line for "de", it will work too. But
it will not work with "zh", "it" and "zh-tw" entries present.
Good evening,
is there a resource OfbizDemoUiLabels.xml located in the config
directory of the newly created plugin? Maybe it's just a matter of
lowercase/uppercase naming.
Hard to say without seeing the code and files.
The hot-deploy mechanism refers to older versions of OFBiz, it was
replaced by the plugins mechanism. Every third party or custom
enhancement should be located in the plugins directory.
Best regards,
Michael Brohl
ecomify GmbH - www.ecomify.de
Am 02.08.20 um 10:54 schrieb Georg Potthast:
I installed the JDK version 8 and OFBiz on my Windows 10 system in
Germany
ok and can run the provided applications like catalog or webtools.
Now I want to follow the tutorial “OFBiz Tutorial - A Beginners
Development Guideâ€.
So I entered “gradlew createPlugin -PpluginId=ofbizDemoâ€
>and run “gradlew loadAll ofbiz†Seemed to work ok.
When I enter “https://localhost:8443/ofbizDemo†I get the error
message
"ERROR MESSAGE java.lang.IllegalArgumentException: Could not find
resource
bundle [OfbizDemoUiLabels] in the locale [de]"
What do I need to do to get that to work?
Additional question: old tutorials refer to a hot-deploy directory. Is
this
no longer working?