Change the port to 9999 domain.xml file and add the server again in Netbeans, but the error persists

有帮助吗?

解决方案

If the error persists after changing the port, what you should do is eliminate domain.xml is located in the installation directory + glassfish \ domains \ domain1 \ config and then delete all projects that no longer exist. If this project does not exists delete

<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> 

Then remove from the Netbeans Glassfish server and add it again and ready for me it worked

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top