STS 3.4.0 with Websphere 8.5.5.0 don't deploy my application

。_饼干妹妹 提交于 2021-01-28 04:01:04

问题


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.

enter image description here


回答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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!