Quantcast
Channel: Active questions tagged servlets - Stack Overflow
Viewing all articles
Browse latest Browse all 717

Cant create a new Servlet in IntelliJ Ultimate Edition 2023.2

$
0
0

Similar to this question, I cant create a Servlet file with the 'new' context menu New -> Servlet. However, as shown in the screenshot, src/main/java is alreay marked as a source root directory, so its a different problem than the answers suggest.Manually creating a Servlet from a javaclass works, however it would be nice to have the boilerplate code created automatically.

Im following this text tutorial from JetBrains

Screenshot showing the missing of 'new servlet'

Screenshot showing the source root activation

I checked if the Sources root is set correctly and if the default servlet works correctly, which it does.


Viewing all articles
Browse latest Browse all 717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>