Myeclipse添加build path中的service

2025-04-18 16:53:58

1、导入maven项目时jsp页面一直报错,项目名称有感叹号,烂瘀佐栾这时可能是build path中设置问题;查看是否有server;

Myeclipse添加build path中的service

2、右击项目名,点击build path 查看,jdk,service;

Myeclipse添加build path中的service

3、点击libreries 查看,发现没有service,添加service。

Myeclipse添加build path中的service

4、如图点击选中,下一步

Myeclipse添加build path中的service

5、选中finish即可;

Myeclipse添加build path中的service

6、如果没有tomcat,如图选择添加,填入tomcat的解压地址即可;

Myeclipse添加build path中的service

7、update maven项目可以解决很多的问题;

Myeclipse添加build path中的service
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢