我尝试在Glassfish中部署era archive,使用带有DTD字符串的非常简单的sun-ej-jar文件:
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.1.1 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-1.dtd">
我收到错误:
“Error occurred during deployment: Exception while deploying the app [app]: Unable to locate the DTD to validate your deployment descriptor file [META-INF/sun-ejb-jar.xml] in archive [app-ejb-1.2.0-SNAPSHOT_jar]. Please make sure the DOCTYPE is correct (no type in public ID or system Id) and you have proper access to the internet.. Please see sever.log for more details.”
备注:
我使用glassfish 3.1.2
有人知道这个问题吗?
P.S。 server.log包含带有DTD验证错误的堆栈跟踪,没有任何用处。