简体   繁体   中英

Publishing webapp into local Liberty Stuck from Eclipse

I have a Dynamic Web App in Eclipse deploying into a WebSphere Liberty pluging. It was deploying fine until I create an Ant file to build an EAR file.

After that automatic Deploy Stuck on 80% of the publishing process Stay with Msg: Publishing : myEAR: Waiting for application status from the server.

I remove the ant file but anyway. What can I do to make Eclipse work as before.

If stuck at about 80% eclipse is usually waiting for the server to print a message saying that the application was started. Do you see a message in the console view similar to the following?

[AUDIT ] CWWKZ0001I: Application Web2EAR started in 0.048 seconds.

If not is there anything in the console view or in the server logs to indicate what might have gone wrong with the application deployment?

I was able to fix this problem by double clicking on the server and unchecking the "run Applications Directly From Workspace" option.

My environment is slightly different. My project is both a Maven Project and a Dynamic Web Project. And I added the Maven dependencies to the Deployment Descriptor.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM