вот ошибка которая вылазит когда переносишь пакет к себе
Код | Information:Compilation completed with 12 errors and 0 warnings Information:12 errors Information:0 warnings Error:trouble processing "javax/xml/transform/dom/DOMSource.class": Error:Attempt to include a core VM class in something other than a core library. Error:It is likely that you have attempted to include the core library from a desktop Error:virtual machine into an application, which will most assuredly not work. If Error:you really intend to build a core library -- which is only appropriate as Error:part of creating a full virtual machine binary, as opposed to compiling an Error:application -- then use the "--core-library" option to suppress this error Error:message. If you go ahead and use "--core-library" but are in fact building Error:an application, then please be aware that your build will still fail at some Error:point; you will simply be denied the pleasure of reading this helpful error Error:message. Error:1 error; aborting
|
заодно выискалось решение с XmlSerializer но оно ИМХО мало чем отличается от StringBuilder
Приветствуются любые варианты решения проблемы, от перетаскивания пакета до собственного плохотестированого класса. |