Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse java文档XML未正确显示_Java_Eclipse_Javadoc_Xml Formatting - Fatal编程技术网

Eclipse java文档XML未正确显示

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

我的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.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>