java - Unable to run Spring REST application using Tomcat -
i have spent weekend trying run simple spring rest applications. lots of examples on net. however, whenever got running these, application give me 404 - resource not found exception. ensure doing right, restarted applications scratch few times.
if go project folder , run mvn tomcat7:run project works expected. however, when adding project tomcat7 server inside eclipse , running there, 404 error.
any ideas on going wrong appreciated.
i think problem src/main/java
folder
, said manually create it. did not add source after create it?
update import code eclipse,and modify web module
path
,and worked. here snap:
hope useful.
Comments
Post a Comment