in Java EE intro tutorial with latest versions -- create servlet step does nothing

Things seemed to be going fine until step 5.3 of this tutorial: http://wiki.jetbrains.net/intellij/Developing_and_running_a_Java_EE_Hello_World_application

The new servlet dialog does not create a servlet. Nor does it put up an alert or log. It just does nothing. What I expected was to see HelloWorldServlet.java under web/src/myservlets after clicking OK in the create servlet dialog.

Is there any known incompatibility between the steps in the tutorial and the current versions of all tools and libraries? My versions (all current as of this posting) are IntelliJ IDEA 13.0.1, JDK 7u51, and JBoss EAP 6.2.0. Equally possible instead of some version skew is that I have added the libs in an incorrect fashion, because the way some of these libs are added via the tool dialogs has changed between IDEA 12 and IDEA 13.

I guess my entire question could be viewed as a request to update what is a very nice tutorial but which is now getting a little out of date.

[Edited for a typo and for clarity.]

7 comments
Comment actions Permalink

Thank you for reporting. Do you have web.xml in the web module? Does the error goes away, if you add it  (please do it in the facet settings in Project Structure dialog)?

I'll file an issue in our bugtracker.

Regards,
Alexander.

0
Comment actions Permalink

Wow, you homed right in on that. There was indeed no web.xml.

Once I added a web.xml (I chose deployment descriptor version 3.0, the highest) then I had zero trouble whatsoever doing the create servlet step of the tutorial.

Thanks!

0
Comment actions Permalink

I discovered I can edit the wiki myself. Ho ho. Do you want me to continue updating the page I have started here:

http://wiki.jetbrains.net/intellij/Developing_and_running_a_Java_EE_Hello_World_application_with_IDEA_13

If yes, I have the first five screenshots (screenshotted on a Mac, not a PC) attached for whomever can upload wiki images, and it would be nice to see my screenshots inlined.

If no, I won't be too hurt, even if you say you want to delete the page I have started. I'm only about 30% done and you'll save me a bunch of work!



Attachment(s):
IDEA13Screenshots.zip
0
Comment actions Permalink

Thank you for your interest. I have forwarded your question to our tech writers to answer.

Regards,
Alexander.

0
Comment actions Permalink

Hi Brian,
Thanks a lot for your contributing to IntelliJ IDEA Wiki. Yes, please continue working on that page.
I've uploaded your screenshots. I've also arranged for you to be able to upload images yourself. If there's anything else I can do for you, please let me know (sergey.chernetsky@jetbrains.com).

0
Comment actions Permalink

I have verified that I can now upload screenshots. Thanks! I'll notify you when I've gotten them all up.

0

Please sign in to leave a comment.