Results 1 to 3 of 3

Thread: STS says "synchronized", but it isn't

Hybrid View

  1. #1

    Default STS says "synchronized", but it isn't

    After updated JSP files, I did "Run As" -> Maven clean, "Run As" -> Maven install and "Run As" -> Run On Server. Beside the application name, STS says the application is synchronized. But, the JSP files are old version. Only usage problem I can think of is the JSP file location. I have them under the src/main/webapp/WEB-INF/. My development directory structure is the same as the petcare sample.

    Can someone tell me the cause?

    Thanks.
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

  2. #2
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hi vw729,

    what is your deployment target? Are you deploying to tc Server?

    Please don't use any of the Maven commands when deploying to any server. Whenever you changed a JSP just leave it with that and check if the server reflects the change.

    Please make sure that you have "Build Automatically" from Project menu enabled.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  3. #3

    Default

    Quote Originally Posted by Christian Dupuis View Post

    what is your deployment target? Are you deploying to tc Server?
    Thanks very much Christian for your response. I don't know how to answer your first question. I copied over the petcare sample including the pom file and replaced anythings needed. For your second question, yes, I deploy with the Spring TC server which come with STS.

    Quote Originally Posted by Christian Dupuis View Post

    Please make sure that you have "Build Automatically" from Project menu enabled.

    Christian
    I try "Build Automatically" (that is to check "Build Automatically" under the Project menu). And "Run As" -> Run On Server. The file directories of the project are on the server, but all class files except one directory are absent.
    [URL="http://vicina.info"] 新闻,社区新闻,分类广告

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •