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.

enter image description here

enter image description here

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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -