欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

jboss eap 6.3整合eclipse 运行项目报错by: org.jboss.as.server.deployment.DeploymentUnitPr

程序员文章站 2022-07-15 14:45:28
...

 

 

 

 :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文件的<body-content>jsp</body-content>改成大写的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>

 

相关标签: jboss