Jakarta EE 9 for IntelliJ Community Edition?
Answered
Is it possibly to use any Jakarta EE 9 implementation for IntelliJ Community Edition(apple silicon architecture)?
Please sign in to leave a comment.
It depends on what you mean by "use".
Please see https://www.jetbrains.com/idea/features/editions_comparison_matrix.html for the difference between the CE and Ultimate.
I pay to use the IntelliJ Ultimate version.
I can use maven on the command line to build servlets against version 5 and run on Tomcat 10.0.10 without issue.
I get a message in IntelliJ that jakarta.servlet-api version 5 isn't supported, so I have change the pom.xml to version 4.0.3 then it doesn't recognize any jakarta.* - maybe it will work using javax on Tomcat 10.0.10 with but i doubt it? i haven't tried.
However, your web site states that "Jakarta EE 9 is essentially the same as Java EE 8" like it's no biggie.
So since it's "essentially" the same can you just add jakarta.servlet-api 5.0 support? Sounds like it should just be changing a number if this "Essentially the same thing, don't worry about it" message on your site is correct - so 4.0.3 is from like 2018. version 6 is going to be released next month. So maybe you can just go ahead and get it updated to at least 5.
Thank you.
Hello,
Could you please provide sample project example for investigation?
I revisited this issue. It seems if I create my pom.xml file and project manually I can import the Maven file and entire project into JetBrains and use the terminal window in JB to build (maybe the "build" menu items works, but i don't really need that functionality using my Make file to simplify builds.) This works and I get the benefit of using the editor (I was using Geany on this project the past month, which is a good general editor in my opinion but not as sophisticated as JB, AFAIK).
The problem I was having before was trying to use the 'new project' wizard in JB and from what I remember it does not seem to be working to set up a new project using Tomcat 10 / Java 17 / Jakarta 5.0 . I could just be doing it wrong.
But creating the project manually on the console and opening in JetBrains is not a big deal to me, so all is good I suppose.
https://gist.github.com/arduent/67f795c800511dfcd12b760bc3907c4b
https://gist.github.com/arduent/442a00ea8e0ecb69cd1ba9455cbc1d2e
>The problem I was having before was trying to use the 'new project' wizard in JB and from what I remember it does not seem to be working to set up a new project using Tomcat 10 / Java 17 / Jakarta 5.0 .
It works for me with 2021.2.3 (RC) version:
Could you please add more details about your steps and the expected/actual result you are getting? Thank you!
It is working, not sure why I wasn't seeing Jakarta as an option a month ago? I can't remember. it appears the FreeBSD Port was updated Aug 23 and it made it on my system August 29. So I "should" have had this same version of IntelliJ-Ultimate when I posted September 6.
Thanks for the tip, I'll also check out RC