Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xml ヘッダーからスタンドアロンを削除する際に問題があります。私は試した:
marshaller.setProperty("com.sun.xml.internal.bind.xmlDeclaration", Boolean.TRUE); marshaller.setProperty("com.sun.xml.internal.bind.xmlHeaders", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>");