还可以在eclipse中创建spring mvc项目。步骤如下:
file->new->project->Maven->Maven Project->next->next->选择最后一行maven-archetype-webapp->输入Group id,Artifact id以及package信息->finish
file->new->project->Maven->Maven Project->next->next->选择最后一行maven-archetype-webapp->输入Group id,Artifact id以及package信息->finish
2019-09-03
最赞回答 / 慕容5152808
package com.imooc.mvcdemo.service.impl;import java.util.ArrayList;import java.util.List;import org.springframework.stereotype.Service;import com.imooc.mvcdemo.model.Chapter;import com.imooc.mvcdemo.model.Course;import com.imooc.mvcdemo.service.CourseServi...
2019-09-01
最新回答 / 慕婉清6388872
mvc.xml 中的context:component-scan包名与你 HelloMvcController.class所在包名一致吗?<context:component-scan base-package="com.imooc.mvcdemo.controller" use-default-filters="false"><context:include-filter type="annotation" expression="org.springframework.stereot...
2019-08-26