java - unable to run the application after changing the project facet? -
i have changed project facet , added dynamic web module it, after unable run application , getting err0r : 404. have attached screen shots.
i guess problem due adding of dynamic web project. after have added dynamic web module project, eclipse created directory called webcontent in application. not maven likes. select project in eclipse , press alt + enter show project properties. search deployment assembly , click on add button , select "folder". click on "next". select folder /src/main/webapp , click on ok. make sure deploy path col directory '/'. can delete webcontent folder created eclipse , project can run on server


Comments
Post a Comment