-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassNotFoundException: javax.servlet.ServletContext when running Application.main() from Intellij #924
Comments
Note that I do not have Spring plugin installed in my Intellij 2019.2.1 - could this be the problem? |
I've installed the Spring Boot plugin, did not help. |
After I comment out the
I wonder if Intellij somehow computes a different classpath than Maven when running Spring Boot... |
Removing also the Anyway, could be useful to have instructions for this in the README - if you want to run this as main() method, you need to modify the pom.xml. |
Hi, I can't seem to run this project in Intellij, it always fails on me. Java openjdk 1.8.0_222, Intellij 2019.2.1.
Steps to reproduce:
platform-14
Application
class in Intellij and select "Run Application.main()"The text was updated successfully, but these errors were encountered: