• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Spring in IntelliJ

 
Ranch Hand
Posts: 246
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to learn how to use Spring, and have been reading the book Spring in Action, by Craig Walls. I'm trying to compile the files he used as examples early on. Someone who I trust said what I want to do is use the IntelliJ IDE to compile those files. So I downloaded IntelliJ, and I think I installed everything.

I'm looking at a screen that has the label "New Project" up in the upper left hand corner, and below that a vertical list consisting of labeled icons with labels "Java", "Java FX", "Maven", "Gradle", "Groovy", "Griffon", "Kotlin", and "Empty Project". From the middle to the right edge there's a box; at the top of that box it says, "Project SDK:", and to the right of that it says, '1.8 (java version "1.8.0_111")'. Underneath it says, "Additional Libraries and Frameworks:" and underneath that are three labeled icons with labels "Groovy", "Kotlin (Java)", and "Kotlin (JavaScript - experimental)". Way below that, down towards the bottom, it says, "Use library:", and to the right of that is a box; inside the box it says, "[No library selected]". I click on that box and nothing happens. I click on the little "Create..." box to its right and nothing happens. Below them is the message: "Error: library is not specified". At the very bottom of the window are four buttons, <Previous> (shaded out), <Next>, <Cancel>, and <Help>.

My question is, what do I have to do to get my Spring project set up? That project currently looks like follows:

How do I get this into IntelliJ so that I can try compiling it? Any pointers would be extremely appreciated.
 
Ranch Hand
Posts: 1067
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know the answer to your specific question, but these videos use IntelliJ and I found them helpful with getting used to that IDE.  https://www.marcobehler.com/series/1-spring-boot-from-zero-to-rest

And I think this is post #1000!
 
William Barnes
Ranch Hand
Posts: 1067
2
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the example code not come with a .pom file?  Without that you will not be able to import it as a Spring project, I would think.  
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic