问题
I try to deploy my application on WebSphere from Eclipse.
Here some conditions:
- STS 3.4.0
- Websphere Plugin: IBM WebSphere Application Server V8.5 Developer Tools for Kepler/Luna
- Websphere 8.5.5.0
After i installed the plugin i can add the Server and start/stop him, but when i try to add my application for deployment i get the feedback "There are no resources that can be added or removed from the server"
I have an ear project and a war project in my workspace which are deployable with JBoss without problems. Do i have to add something to my projects to make them deployable?
Is there any clue for this?
* Update *
Here you can see the project structure of my ear module.
回答1:
You can only add EAR projects via right click on Server > Add and Remove...
. You should see dialog with projects that can be deployed to your server. If your EAR project is not visible there maybe it is not correctly recognized as EAR project. Check in Project properties > Project Facets if it has EAR facet checked.
Just for test you can try to export your project as EAR and then deploy it using web admin console.
回答2:
I found a workaround which is ok i think.
I created a "Enterprise Application Project" and added my war modules to it. This was deployable with WebSphere.
来源:https://stackoverflow.com/questions/25287655/sts-3-4-0-with-websphere-8-5-5-0-dont-deploy-my-application