【Java】Element ‘project‘ cannot have character [childrenl, because the type‘s content type ...问题

Servlet编程中打包时出现问题, 标红

【Java】Element ‘project‘ cannot have character [childrenl, because the type‘s content type ...问题_第1张图片

原因是该本文格式为xml,而//表示打包格式为war的注释不符合xml文本的注释格式

因此报错

删除注释,打包成功

【Java】Element ‘project‘ cannot have character [childrenl, because the type‘s content type ...问题_第2张图片

你可能感兴趣的:(Java,#,Java网络编程,java,hive,开发语言)