0
,我有 C:\用戶\ JB \臀部\ H4> jhipster UML的socle2.uml 解析器檢測到:VISUAL PARADIGM。日期類型不支持
The type 'Org.joda.time.DateTime' isn't supported by JHipster, exiting now.
Error
at Object.<anonymous> (C:\Users\jb\AppData\Roaming\npm\node_module
s\jhipster-uml\lib\exceptions\invalid_type_exception.js:7:34)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\jb\AppData\Roaming\npm\node_module
s\jhipster-uml\lib\editors\modelio_parser.js:6:28)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
改爲java.time.ZonedDateTime,相同的結果
The type 'Java.time.ZonedDateTime' isn't supported by JHipster, exiting now.
通知在包的開始的上炭(在生成的UML的上限沒有炭)
上下文: W764,UML使用的文件是通過反轉.java源創建的圖的xmi導出(UML2 w /原始UML類型導出),通過視覺範例12.2 CE升至標準版)
我放棄了泛型的一些使用和抱怨型轉變(現Void) –
不確定這是否可能是問題,但是這兩個錯誤消息都有一個以大寫字符開頭的軟件包名稱。這應該是小寫。 –
你好@MattRaible,我檢查了生成的.uml文件。沒有大寫Java包的蹤跡。爲了簡化它,通過放棄繼承和泛型作爲開始,錯誤改變爲抱怨Void類型。 現在改變了我的政策,我通過模擬一個空的JHipster項目來「升級」現有項目。 我與朱利安交換,從現有的複雜實體出發不是JHipster可以使用的方式。 –