Publishing to tomcat server at localhost... has encountered a problem
Publishing faiiled with multiple errors.
File not found: C:\AGCO\SVN_Pur\trunk\Releases\SourceCode\Source\Procurement\target\m2e-wtp\web-resources\META-INF\MANIFEST.MF.
File not found: C:\AGCO\SVN_Pur\trunk\Releases\SourceCode\Source\Procurement\target\m2e-wtp\web-resources\META-INF\maven\Procurement\Procurement\pom.properties.
File not found: C:\AGCO\SVN_Pur\trunk\Releases\SourceCode\Source\Procurement\target\m2e-wtp\web-resources\META-INF\maven\Procurement\Procurement\pom.xml.
Resource is out of sync with the file system: '/Procurement/target/classes/com/agco/procurement/beans/ActualsHeader.class'.
Resource is out of sync with the file system: '/Procurement/target/classes/com/agco/procurement/beans/ActualsModel.class'.
Resource is out of sync with the file system: '/Procurement/target/classes/com/agco/procurement/beans/ActualsUploadTemplate.class'.
Resource is out of sync with the file system: '/Procurement/target/classes/com/agco/procurement/beans/CLOutLookParameters.class'.
Resource is out of sync with the file system: '/Procurement/target/classes/actualsbeanio.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/actualsbeanion.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/agco-procurement.properties'.
Resource is out of sync with the file system: '/Procurement/target/classes/application.properties'.
Resource is out of sync with the file system: '/Procurement/target/classes/apps-api-log4j.properties'.
Resource is out of sync with the file system: '/Procurement/target/classes/apps-api.properties'.
Resource is out of sync with the file system: '/Procurement/target/classes/forecastbeanio.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/importSupplierBeanIo.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/kPIVariances.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/krb5.conf'.
Resource is out of sync with the file system: '/Procurement/target/classes/login.conf'.
Resource is out of sync with the file system: '/Procurement/target/classes/newsupplierbeanio.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/nwstdmtrial.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/projVolCost.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/quoteFileBeanIo.xml'.
Resource is out of sync with the file system: '/Procurement/target/classes/standardyearbeanio.xml'.
Solution is very simple: Delete tomcat and configure new Tomcat. Now it should work follow below to configure new tomcat.
Clean the project.
Build the war (clean install for maven)
Configure new tomcat server and deploy the war in tomcat
2 ways deploying war in tomcat in Eclipse.
- While configuring new server
- New->Server
- Define new server(tomcat location and all)->Next
- In Add and Remove panel select war and click on Add and click on Finish.
- After New Server(tomcat) added(configured)
- Right click on Tomcat server
- click on Add and Remove...
- Add required war and finish
After Deploying the war Right click on tomcat and click on Start(Debug).
Publishing failed with multiple errors
ReplyDeleteError copying file assets\js\bootstrap: Access is denied
Error copying file assets\js\custom.js: Access is denied
Error copying file assets\js\j query-1.11.1.min.js: Access is denied
Error copying file assets\js\jquery.flexslider.js: Access is denied
Error copying file assets\js\jquery.mixitup.min.js: Access is denied
Error copying file assets\js\jquery.prettyPhoto.js: Access is denied
Error copying file assets\js\wow.js: Access is denied