on 05-18-2016 6:53 PM
Have been trying to use the UML 2.0 tool from https://wiki.hybris.com/display/release5/hybris+UML+Tool 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 org.ee.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.IllegalArgumentException: Cannot parse file due to duplicate item code 'B2BUnit at de.hybris.xmlumltool.main.InputItems.loadTypes(InputItems.java:91) at de.hybris.xmlumltool.main.InputItems.init(InputItems.java:65) at de.hybris.xmlumltool.main.InputItems.(InputItems.java:60) at de.hybris.xmlumltool.main.UMLTool.main(UMLTool.java:134) ... 5 more
C:\umlh57\commerce>
Any advice on how to get this resolved? It works with basecommerce-items.xml or other items.xml
Late response but it might be because someone decided to define B2BUnit twice in the file. Merge those and run the script again and it should work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.