Eclipse java文档XML未正确显示
我的java文档中有以下段落:Eclipse java文档XML未正确显示,java,eclipse,javadoc,xml-formatting,Java,Eclipse,Javadoc,Xml Formatting,我的java文档中有以下段落: * <pre> * {@code * <?xml version="1.0" encoding="UTF-8"?> * <beans xmlns="http://www.springframework.org/schema/beans" * xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" * xmlns:context="http://www.springfr
* <pre>
* {@code
* <?xml version="1.0" encoding="UTF-8"?>
* <beans xmlns="http://www.springframework.org/schema/beans"
* xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
* xmlns:context="http://www.springframework.org/schema/context"
* xmlns:task="http://www.springframework.org/schema/task"
* xmlns:tx="http://www.springframework.org/schema/tx"
* xsi:schemaLocation="http://www.springframework.org/schema/beans
* http://www.springframework.org/schema/beans/spring-beans.xsd
* http://www.springframework.org/schema/context
* http://www.springframework.org/schema/context/spring-context.xsd
* http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
* http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd">
*
* <bean class="path.to.job.Class"
* id="jobBeanName" parent="baseJob">
* <!-- PROPERTIES OMITTED -->
* </bean>
*
* <task:scheduled-tasks scheduler="scheduler">
* <task:scheduled ref="jobBeanName" method="execute"
* cron="${cron_expression}" />
* </task:scheduled-tasks>
*
* </beans>
* }
* </pre>
*
*{@code
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
这一部分应该说明一个新定义应该如何实现的快速指南。然而,由于某些原因,“翻译”并不完整
这就是它的结果:
</task:scheduled-tasks>
</beans>
}
它缺少以下部分:
并且包括}
,它是{@code}
的一部分
使它们可见的唯一方法是在
这个转换是什么?Eclipse javadoc视图(ALT+SHIFT+Q,J)看起来像Eclipse问题,idea显示得很好,因此问题被标记为Eclipse
</task:scheduled-tasks>
</beans>