Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6375

Can't clear "the target server has not been set" error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Cannot Reproduce
    • 12.6
    • None
    • javaee - Web Project
    • None

    Description

      I have netbeans 12.6 on Ubuntu (and netbeans says it is up to date). I open an old project, and it says the tomcat server is missing. I click on Resolve Missing Server, go through the steps to let netbeans know where my tomcat 7 server is located, and click finish. I end up back at the same place - "the target server has not been set or has been removed" and the list of servers is blank.

      If I go to the Services tab, click on Apache Tomcat, and then start, tomcat7 starts. I still can't get the project to associate with Tomcat.

      I go to Tools -> Servers, and my tomcat7 server is listed.

      I go to Project Properties -> Run, and there is nothing in the dropdown list for servers, and I can't add anything.

      I remove the tomcat instance from Services, restart netbeans, go through the sames steps as before, and the same thing happens. Same issue if I add the tomcat7 server using the Tools -> Servers tab. 

      I checked permissions on the tomcat 7 installation, and the user, group is tomcat7. The user running netbeans is mark. User mark is part of the tomcat7 group. All the files in the tomcat7 installation have group read/write/execute permissions.

      I realize tomcat7 is outdated, but that shouldn't prevent me from adding it as a server, imho. The application is running on tomcat7 in production.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmi123 Mark Phillips
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: