RESTful Web Services | library problem

Answered

Hello!
I have a problem when trying to create a new RESTful Web Service.
This is the guide I'm currently following: https://www.jetbrains.com/help/idea/preparing-for-rest-development.html 

Under "Enabling REST support when creating a project" I've had the options before I reinstalled windows and intelliJ but now they are gone and I can't download jar's or anything. The only option for me is "Use Library: No library selected" and then an error: "library is not specified".

I don't know how to solve this and can't remember how I got it to work before.

Here is a picture of where the options should be as described in the tutorial.

Currently on intelliJ 2018.2 if that makes any difference, had 2017.2 before reinstall where it worked.

1
7 comments

Looks like this option is missing for Java EE 8. Please vote and follow the https://youtrack.jetbrains.com/issue/IDEA-196630. See also the workaround there.

1
Avatar
Permanently deleted user

Thanks, changing to Java EE7 made it work, and now I have a helloworld that's running :D. So now I can continue with my project.

0
Avatar
Permanently deleted user

Hi Andrey,

This doesn't seem to fix the issue for me--I have EE7 selected and still no option to download or select later.

 


 

1

What IDE version do you use? I also had to change few more values in dialog: e.g. Application Server to Tomcat or JBoss.

0
Avatar
Permanently deleted user

I still have same problem of  Df2704

0
Avatar
Yaroslav Bedrov

Please folow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-196630

As a workaround you could select JavaEE7 and then select the RestFul WS..then change to JavaEE8

1
Avatar
Permanently deleted user

Yeah, I solved closing the new project, re-creating the new project and selecting the JavaEE7

0

Please sign in to leave a comment.