Project deployment issues-could not is redeployed

Source: Internet
Author: User

When you put a project copy and then deploy it in another IDE, you may experience this situation with three types of errors

1. The name of the completed item is not properly deployed,

Workaround: Properties->myeclipse->web->context Root

The value of the Web Context-root is changed to the name of your new project.

2.XXX could is redeployed because it could not to completely removed in the undeployment. The most common cuase of this problem are attempting to redeploy while the server was Running,which has locked one or more F Iles.

The reference class in the. Classpath is not found in the new environment, jar problem.

Solution:
Just add the jar file referenced in the project again, the basic reason is that the previous jar file does not exist, but the project information also contains a nonexistent jar file reference in the project's. classpath file.
You can right-click the project name, select Properties, choose Java Build Path, select libraries, remove all the jars from all items, and then click Add Jars to add the jar files in the project and deploy them again.
The big deal is to delete the project, recreate the project, add the desired jar package, then redeploy the project, and start it, absolutely. (Refer to http://zhuxinzx.iteye.com/blog/697192)

3. Project name could not is redeployed because it could not is completely removed in the undeployment. The most common cause of this problem are attempting to redeploy while the server was running, which has locked one or more Files.
To correct the deployment you'll need to stop the server and then redeploy the project before the restarting

Because some information has been updated, it cannot be loaded into the server in time because the server was not deployed in time.

Solution: Select project Right click Project Name Select MyEclipse---Add or remove project deployments Select Server (deployment path in table) remove server re-add server click Redeploy to complete redeployment (parameter Test http://hanxin0311.iteye.com/blog/417414)



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.