GlassFish4 と NetBeans IDE 8.0.2 とWindows8.1
- 作者: 川場隆
- 出版社/メーカー: 秀和システム
- 発売日: 2014/11
- メディア: 単行本
- この商品を含むブログを見る
重大: Exception while deploying the app [test01] : org.xml.sax.SAXParseExceptionpublicId: file:/C:/Users/太郎/GlassFish_Server/glassfish/lib/schemas/web-app_3_1.xsd; lineNumber: 281; columnNumber: 47; Deployment descriptor file WEB-INF/web.xml in archive [web]. src-resolve: 名前'javaee:web-commonType'を'group'コンポーネントに解決できません。 org.xml.sax.SAXParseExceptionpublicId: file:/C:/Users/太郎/GlassFish_Server/glassfish/lib/schemas/web-app_3_1.xsd; lineNumber: 281; columnNumber: 47; Deployment descriptor file WEB-INF/web.xml in archive [web]. src-resolve: 名前'javaee:web-commonType'を'group'コンポーネントに解決できません。 at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:324) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:245) at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:665)
この問題に付き合って、読んでた本も1章でアウトになりそうだったが、
- JavaBeansとGlassFish4をインストールしたディレクトリに「Program Files」みたいな空白が怪しい。
- どうもC:/Users/太郎/GlassFish_Serverの「太郎」あたりが怪しい。
と思って、両方を避けて再インストールして解決できました。