将端口改为9999 domain.xml文件,在Netbeans中再次添加服务器,但错误依旧
问问题
4773 次
1 回答
0
如果更改端口后错误仍然存在,您应该做的是清除位于安装目录+ glassfish\domains\domain1\config中的domain.xml,然后删除所有不再存在的项目。如果此项目不存在删除
<applications>
<Application context-root = "/ MyProject" location = "file :/ C :/ Users / Administrator / Documents / NetBeansProjects / MyProject / build / web /" name = "MyProject" directory-deployed = "true" object-type = "user">
<property name="preserveAppScopedResources" value="true"> </ property>
<property name="appLocation" value="file:/C:/Users/Administrador/Documents/NetBeansProjects/MyProject/build/web/"> </ property>
<property name="defaultAppName" value="web"> </ property>
<property name="keepSessions" value="true"> </ property>
<module name="MyProject">
<Engine sniffer="jpa"> </ engine>
<Engine sniffer="security"> </ engine>
<Engine sniffer="web"> </ engine>
</ Module>
</ Application>
然后从 Netbeans Glassfish 服务器中删除并再次添加它并为我准备好它的工作
于 2014-04-17T17:49:41.340 回答