Results 1 to 3 of 3
  1. #1
    jocdrew21 is offline Senior Member
    Join Date
    Jan 2014
    Posts
    137
    Rep Power
    0

    Default How to import a spring application

    I have imported several maven projects but I am trying to import a spring project via eclipse and it is not displaying. I did the following file->import->Existing maven projects->browse (found my project)->finish..... The project does not display and I cannot find it. I tired to do it again and the project cannot import because I cannot select it meaning it is already installed.

    Advice......

  2. #2
    trcooke is offline Tim Cooke
    Join Date
    Jul 2014
    Location
    Belfast
    Posts
    101
    Rep Power
    0

    Default Re: How to import a spring application

    My process when importing a Maven project into Eclipse, and also IntelliJ, is to select File->Open and then select the top level pom.xml file to open. This seems to be enough for it to recognise that it's a Maven project and will open up the whole project for me.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: How to import a spring application

    Yep me too. That is assuming the project is a Maven multi-module project.

    But I wonder what "project does not display" means. It doesn't end up in the projects view at all?


    Also: if you perform a mvn clean install on the project in a command prompt, does that work without errors?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 29
    Last Post: 01-07-2012, 04:05 PM
  2. spring quartz application
    By hemant_metalia in forum Advanced Java
    Replies: 0
    Last Post: 10-11-2011, 03:10 PM
  3. Web application using Spring MVC
    By annamalail in forum NetBeans
    Replies: 2
    Last Post: 08-22-2011, 12:10 PM
  4. Replies: 0
    Last Post: 03-03-2011, 08:45 PM
  5. A Sample spring Application
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 09-26-2007, 08:32 PM

Posting Permissions

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