I am trying to deploy a standard environment google app engine project from eclipse. Whenever I try to deploy it however, I get the error: problem publishing war, project has no resources to publish. I have different project that does deploy correctly. Also I should mention that I imported the project from a while back where it used to deploy fine.
Related
I am trying to integrate Amazon SQS into eclipse but I'm having a hard time and I have no clue how to do that. I have watched many you tube videos and they all are with intelliJ or with visual studio code.
I tried with visual studio code but by default location is changing in the credentials.
Can anyone let me know the dependencies to add and how to create a project so that I can integrate AWS and also how to run the final application and how to make changes in the queue created?
To use the AWS SDK for Java V2 in Eclipse, all you need to do is create a Maven Project in Eclipse. Then look at the AWS SDK Github repo here:
https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/example_code/sqs
See this illustration.
Open the POM located here and copy and paste it into your Maven project's POM file. That will add the required dependencies into your project. Now you can add the examples to your project to get SQS examples working in Eclipse.
Of course, you need to setup your development environment - which includes setting up your AWS credentials. To learn how to do this, see this topic:
Get started with the AWS SDK for Java 2.x
I'm trying to deploy a new web project to Google app engine, but google now requires new projects to be created under specific organizations. All of my older projects have no organization assigned, and deploy as they should. Is there a way to direct the project to deploy to a specific organization in the App Engine Project settings? I believe this requirement is fairly recent on Googles part. Im using Eclipse Neon V4.6.2 with the most recent google app engine plugin.
Thanks!
I want to create maven app engine project that to be deployed in cloud.When i created normal maven project and it is not deploying in cloud.How can i enable it to deploy in cloud or is there any maven app engine cloud project setup?
You can use mvn appengine:update maven command to deploy appengine project on cloud. See Using Apache Maven and the App Engine Plugin for step by step understanding on creating maven based appengine project.
Before deploying set pom.xml settings and appengine-web.xml with your appname and version.
For Standard example see Appengine-maven application on git, here eclipse-launch-profiles has launch files DevAppServer.launch will start dev server on local system and UpdateApplication.launch will deploy application on cloud.
For some reason suddenly I am unable to deploy my current application in bluemix server, every time I deploy it fails with following error
Error: Invalid application deployment information for: econfig-poc-backend-adapter - Unable to deploy or start application - Missing application deployment information.. Please delete the module and re-deploy the application.
Same application I am able to deploy form Command line interface using CF tools, but there the new war is not regenerated, I am not sure what is missing in the environment. Will appreciate any help in this regard.
To fix your Eclipse, delete the application from the Servers window under Bluemix and deploy it again.
cf push is a tool to push artifacts to Bluemix. It will not build your java files.
To push your application manually (Eclipse not involved), you have to build the war first, and then push the war. If its an ant based project (build.xml) you will need to run ant. If its maven (pom.xml), you will need to run mvn package. Then, you push the generated war file cf push appname -p path/to/file.war
You can also have Eclipse generate the war for you. Right click on your project in Eclipse and find the option to Export a war file. You can then push this war file using the command above.
I'm trying to deploy my Maven Web Application (with Spring MVC) project to Amazon Elastic Beanstalk through the Amazon SDK plugin for Eclipse.
This works fine. The problem is every time I make a new change to the code, I try to deploy using "Incremental Deployment" option.
Although everything goes fine, when I try to open the app, i find that the earliest version of the code gets deployed. So I have to deploy the whole app everytime.
What's wrong? Am I doing something wrong. Please guide me.