eclipse启动tomcat时不能加载项目

时间:2026-02-15 21:36:33

1、通过查看tomcat启动时间,得知才是201ms,而我的工程空间为:100M左右,不可能怎么快,通过查看配置,各种都是正常的。 

eclipse启动tomcat时不能加载项目

eclipse启动tomcat时不能加载项目

eclipse启动tomcat时不能加载项目

eclipse启动tomcat时不能加载项目

eclipse启动tomcat时不能加载项目

2、通过对比正常的工程得到,需要更改:/工程名/.settings/org.eclipse.wst.common.component即可:原配置如图:

eclipse启动tomcat时不能加载项目

3、现配置如下图,即把

<wb-resource deploy-path="/" source-path="/webapp" tag="defaultRootSource"/>

更改为:

<wb-resource deploy-path="/" source-path="/src/main/webapp"/>即可

eclipse启动tomcat时不能加载项目

© 2026 智德知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com