有大佬愿意留个QQ帮忙看下么
你地址上面加上你的webapp名字试试http://localhost:8080/[webappname]/role
请将你得Controller中Mapping的return值改为例如:return "/employee" 格式
idea要看Tomcat配置的url是否正确