右键pom.xml -->maven–>add dependency,
输入要添加的包,例如jsp依赖包
没有出现提示或相关的jar包。此时要设置一下
选择window–>show view–>other,输入maven,选择maven repositories
右键local repository,选择rebuild index再OK
然后就可以手动添加依赖了
整合struts2
右键pom.xml -->maven–>add dependency,
输入要添加的包,例如jsp依赖包
没有出现提示或相关的jar包。此时要设置一下
选择window–>show view–>other,输入maven,选择maven repositories
右键local repository,选择rebuild index再OK
然后就可以手动添加依赖了
整合struts2