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
IntelliJ IllegalArgumentException on starting local web server #9306
Comments
Irrelevant here; this error is IntelliJ-specific. Also, maybe you skipped this step of setup?
|
I definitely did that step, I remember deselecting web from the list of options and leaving only Google App Engine Standard within the list. After clicking ok, it simply closes. (No option to tick libraries or anything like that) |
@ChooJeremy can you follow this template instead? There's not enough information here and also this cannot be classified as a bug in the first place. |
Sure. It's not really a help request though, the problem is resolved on my end. I just wondered if you guys would want to add how I resolved it to FAQ or something.
What I was trying to do / What I need help with Attempting to start the dev server with IntelliJ i.e. Run -> Run and choosing
Attempts to resolve the problem To resolve this issue, go to Tools -> Google Cloud Tools -> Add App Engine Support -> Google App Engine Standard. Under the Choose Module prompt, select teammates and click OK. In the next Add Google App Engine Standard Framework prompt, check all of the following libraries:
Then click on OK. Wait for indexing to complete, and then re-compile. |
I agree that we should add it in. I encountered this problem a few times. Although google gives me the answer, it will be helpful if we add it into the troubleshooting guide. |
No longer relevant |
master
branch at commit 7b80803Steps to reproduce
I followed the steps in the following articles:
Run -> Run
and choosingGoogle App Engine Standard Local Server
Expected behaviour
The dev server starts up at localhost:8080.
Actual behaviour
IntelliJ fails with the following message:
Additional info
If the server is started with the command line instead (
./gradlew appengineStart
or./gradlew appengineRun
), then there is no such error.To resolve this issue, go to
Tools -> Google Cloud Tools -> Add App Engine Support -> Google App Engine Standard
. Under the Choose Module prompt, selectteammates
and clickOK
. In the next Add Google App Engine Standard Framework prompt, check all of the following libraries:Then click on OK. Wait for indexing to complete, and then re-compile.
I am thinking of adding this into the documentation, but I'm not sure where it would go. If this affects all users, perhaps IDE setup is a good choice. If others aren't experiencing this problem, then perhaps it could go under the Troubleshooting guide.
I'm also not sure if all of the items (Servlet API, JSTL, App Engine API, Cloud Endpoints, Objectify) need to be checked. I know that Servlet is definitely used, and I believe JSP and Objectify is used within the project as well.
The text was updated successfully, but these errors were encountered: