將應用程序部署到GlassFish Open Source Edition 3.1.2(版本23)時出現錯誤。 GlassFish抱怨說我在我的DOCTYPE標籤中輸入了錯字,但我從the Oracle documentation中逐字複製了DOCTYPE!我使用以下文檔類型:glassfish-application-client.xml的正確文檔類型是什麼?
<!DOCTYPE glassfish-application-client PUBLIC ""-//GlassFish.org//DTD
GlassFish Application Server 3.1 Application Client 6.0//EN""
"http://glassfish.org/dtds/glassfish-application-client_6_0-1.dtd">
什麼是正確的?
的問題已在GlassFish中被創建跟蹤此:http://java.net/jira/browse/GLASSFISH-19297 –