Frustration with Intellij and Gradle
I am continually annoyed by the lack of help with intellij and gradle projects and currently a change in the working (apparently) of the new project wizard...
When it takes me 2 hours and i still havent managed to get a project going it just seems like a bad idea and I usually give up.
1) I prefer to use Gradle for everything as then its portable and can compile on a build server easier than trying to read a config file or manually set up a gradle project.
2) I am trying to follow the instructions on https://www.jetbrains.com/help/idea/preparing-for-rest-development.html but it isnt working as displayed.
I am in the Java Enterprise, I am using Jetty which is detected and setup, I tick the "Restful Web service" box and instead of seeing a use library, create or download all I am getting is "Use Library [no library selected] and a create... button" and the Error Library is not specified. No hint no help no idea where to get it from?
Same with most other options there,
Where do i get these libraries from? Why are they not automatically available specially as the Restful Web Service(JS) plugin is bundled?
Please sign in to leave a comment.
Sorry you had such a bad experience. Actually we plan to redesign new project wizard to streamline new projects creation when choosing multiply frameworks and setting up build environment (like Maven/Gradle/Scala/SBT etc).
For now if you plan to use Gradle for managing project configuration and dependencies please select Gradle on initial project wizard. There is no pre-definged gradle template for the Restful Web Service projects. You will need to add relevant libraries manually later after the project creation into build.gradle script. If you are using Spring boot you can use Spring Initializr for creation of Spring Boot project templates with different technologies:
For including Restful Web Services like this example shows https://spring.io/guides/gs/rest-service/