---
title: "jboss eap 6.3整合eclipse 运行项目报错by: org.jboss.as.server.deployment.DeploymentUnitPr"
author: "xcxn"
date: "2015-01-27T14:05:10Z"
tags: ["JBoss"]
categories: ["开源软件"]
slug: "jboss-eap-6-3-eclipse-by-org-jboss-as-server-deployment-deploymentunitpr"
draft: false
lastmod: "2015-01-27T14:05:10Z"
id: 2180413
url: "https://xcxn.iteye.com/blog/2180413"
---

:13:03,755 ERROR \[org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."wxj\_web.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."wxj\_web.war".PARSE: JBAS018733: 处理 PARSE 的 deployment "wxj\_web.war" 阶段失败

at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) \[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) \[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) \[jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) \[rt.jar:1.6.0\_21]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) \[rt.jar:1.6.0\_21]

at java.lang.Thread.run(Thread.java:619) \[rt.jar:1.6.0\_21]

Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: 解析 XML 描述符 "/D:/jboss-eap-6.3/standalone/deployments/wxj\_web.war/WEB-INF/shove\_tags.tld" 的 \[12,17] 失败

at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:143)

at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:99)

at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) \[jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

... 5 more

解决方案：

  将tld文件的&lt;body-content&gt;jsp&lt;/body-content&gt;改成大写的JSP

```
<taglib>
	<tlib-version>1.1</tlib-version>
	<jsp-version>1.2</jsp-version>
	<short-name>shove</short-name>
	<uri>/shove-tags</uri>
	<description><![CDATA[Custom tag library for this application]]></description>
	<tag>
		<name>page</name>
		<tag-class>com.shove.tags.PageTag</tag-class>
		<body-content>JSP</body-content>
		<attribute>
			<name>url</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>curPage</name>
			<required>false</required>
			<rtexprvalue>true</rtexprvalue>
		</attribute>
		<attribute>
			<name>totalCount</name>
```