You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用org.jvnet Maven Xjc/Jaxb Plugin解析简单Xsd文件失败求助

Issue with org.jvnet JAXB Plugin: Compilation Error When Generating Java Objects from Simple XSD

Hey everyone,

I'm currently using the org.jvnet plugin to generate JAXB-annotated Java classes from an XSD file—these classes are meant for XML marshalling and unmarshalling operations. But I ran into a compilation error while processing a fairly straightforward XSD, and I suspect I might have made a basic syntax mistake somewhere. I'd really appreciate a second pair of eyes to check this over for me.

Below are the relevant files and the error message I'm seeing. Let me know if you need any extra details like full dependencies or project structure!


Relevant Files

File.xsd

# Paste your actual XSD code here

pom.xml (JAXB Plugin Configuration)

# Paste the relevant section of your pom.xml here, focusing on the org.jvnet plugin setup

Error Output

# Paste the full error message you're receiving during compilation here

Thanks in advance for any help you can provide!

内容的提问来源于stack exchange,提问作者RD_WF

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 07:56:45