I am a new programmer trying to deploy my Java web application to web hosting for the first time. I started trying to do this with Jelastic, but I need to store the files, not just the .jar file, and it looks like you need to pay LOT for the update.
If you know the way, I can download my application and also save one .png (image) file so that my application can overwrite it by accessing the URL, please let me know. I do not mind paying X money for the owner, but $ 150, or something like crazy.
In the meantime, I discovered that the Google App Engine allows you to download a Java application. I tried to do this, maybe 3 hours.
I am stuck in error:
WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=animelist1&version=1& 404 Not Found This application does not exist (app_id=u'animelist1').
I checked that I registered under the correct Google account (there are no others, rebooted and used CCleaner to clear the browser cache), that I have an empty project in Google App Engine called "animelist1" and checked that my application is called "animelist1" with appengine-web.xml with "animelist".
I am using the netbeans plugin to deploy to google. I have a valid email address.
There are many people with this problem who fixed it in the same way. However, since I am a beginner, I cannot figure out how to do this. Method
This application does not exist (app_id = xxx)
Google App Engine: this application does not exist
(and many others with similar answers)
This method is "appcfg.py update --no_cookies MyProjectDirectory /" or "appcfg.py update. --No_cookies"
Could you help me with this?
I found appcfg.py in
C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine
there is one more
C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools
there is also appcfg_java.py, but if necessary, we can come to it later.
I tried using the Google Cloud SDK (which is similar to the cmd console) to navigate to the directory and enter these commands. This opens the file in a text file and does not seem to do anything.
I believe that I may have to find appcfg related to my application / project (but I'm not sure). When I do a computer file search, I get 8 files with this name:
picture
All I want to do is download my Java Glassfish web application and then download the .png file so that I can point my application to it (it will overwrite the file).
I thought about changing my application to Tomcat, because I thought there was a free Java host that allows tomcat. It was a few hours ago because I was managing this thing, so maybe I should just interrupt and try this instead. Or, if you know a landlord who doesn't cost $ 150 +, let me know. I don’t know why they said they were worth it, I thought you could spend really cheap.
Please help, thanks !!!!
Below is the full code of my error. I don’t know why there is an error in the System Java Compiler, I just checked the environment after I ruined it, saw that it was not saved, and then rebooted, and now it is saved. I have a JAVA_HOME system variable set in C: \ Program Files \ Java \ jdk1.8.0_40, and my system variable Path C: \ ProgramData \ Oracle \ Java \ javapath;% SystemRoot% \ system32;% SystemRoot%;% SystemRoot % \ System32 \ Wbem;% SYSTEMROOT% \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files (x86) \ Skype \ Phone \; C: \ Program Files \ Google \ Cloud SDK \ google-cloud-sdk \ bin; C: \ Program Files \ Java \ jdk1.8.0_40
(maybe I don’t need both, not sure). I have nothing installed, nothing in User Variables, although I will check if necessary.
Here is my complete error log:
******************************************************** There is a new version of the SDK available. ----------- Latest SDK: Release: 1.9.19 Timestamp: Thu Feb 19 23:57:40 GMT 2015 API versions: [1.0] ----------- Your SDK: Release: 1.9.18 Timestamp: Thu Feb 12 19:30:16 GMT 2015 API versions: [1.0] ----------- Please visit https://developers.google.com/appengine/downloads for the latest SDK. ******************************************************** Reading application configuration data... Apr 20, 2015 6:51:40 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:/Users/J/Documents/NetBeansProjects/g5/target/animelist1-1.0-SNAPSHOT\WEB-INF/appengine-web.xml Apr 20, 2015 6:51:40 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:/Users/J/Documents/NetBeansProjects/g5/target/animelist1-1.0-SNAPSHOT\WEB-INF/web.xml Beginning interaction for module default... Apr 20, 2015 6:51:40 AM com.google.appengine.tools.admin.AbstractServerConnection send1 WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=animelist1&version=1& 404 Not Found This application does not exist (app_id=u'animelist1'). This is try #0 Apr 20, 2015 6:51:40 AM com.google.appengine.tools.admin.AbstractServerConnection send1 WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=animelist1&version=1& 404 Not Found This application does not exist (app_id=u'animelist1'). This is try #1 Apr 20, 2015 6:51:41 AM com.google.appengine.tools.admin.AbstractServerConnection send1 WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=animelist1&version=1& 404 Not Found This application does not exist (app_id=u'animelist1'). This is try #2 Apr 20, 2015 6:51:41 AM com.google.appengine.tools.admin.AbstractServerConnection send1 WARNING: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=animelist1&version=1& 404 Not Found This application does not exist (app_id=u'animelist1'). This is try #3 0% Created staging directory at: 'C:\Users\J\AppData\Local\Temp\appcfg8900677438454325367.tmp' 5% Scanning for jsp files. 8% Compiling jsp files. Error Details: Apr 20, 2015 6:51:42 AM org.apache.jasper.JspC processFile INFO: Built File: \index.jsp java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE. Unable to update app: Cannot get the System Java Compiler. Please use a JDK, not a JRE. Please see the logs [C:\Users\J\AppData\Local\Temp\appcfg6599854602413633444.log] for further information.