Skip to Content
Former Member
May 18, 2016 at 05:53 PM

Issue with UML tool


Have been trying to use the UML 2.0 tool from with b2bcommerce-items.xml from ver 5.7 - as below

C:\umlh57\commerce>java -jar umltool.jar b2bcommerce-items.xml -e -o result [main] INFO - Starting spring context...

Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at Caused by: java.lang.IllegalArgumentException: Cannot parse file due to duplicate item code 'B2BUnit at de.hybris.xmlumltool.main.InputItems.loadTypes( at de.hybris.xmlumltool.main.InputItems.init( at de.hybris.xmlumltool.main.InputItems.( at de.hybris.xmlumltool.main.UMLTool.main( ... 5 more


Any advice on how to get this resolved? It works with basecommerce-items.xml or other items.xml