I am trying to extract some common classes out to be a common jar, and I want to reference it by the appengine project in Eclipse.
It compiles well but could not run. The console just told that some classes from the common jar project could not be found.
I know I can just export the project into a jar, but I may want to change it sometimes, so I prefer keep it dynamic.
And I know maven may be an option but there is no official maven support for appengine, and I will not try to learn it.
Then how can I make it work?
Create New Web Application Project In Eclipse toolbar, click on the Google icon, and select “New Web Application Project…” Figure – Deselect the “Google Web ToolKit“, and link your GAE Java SDK via the “configure SDK” link. Click finished, Google Plugin for Eclipse will generate a sample project automatically.
Right click the project in the Package Explorer to open the context menu. Select Deploy to App Engine Standard. A dialog pops up. Select the account you want to deploy with, or add a new account.
Use a linked source folder, see this thread for more details.
Use the maven-gae-plugin. It works well and you mentioned you know Maven already.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With