现象:
在eclipse中,将maven的web项目加入到tomcat中运行,提示如下异常。
异常信息:
cannot add modules because there is no runtime associated with the server
解决:
项目右键 –> Properties –> Targeted Runtimes –> New
添加 tomcat即可
现象:
在eclipse中,将maven的web项目加入到tomcat中运行,提示如下异常。
异常信息:
cannot add modules because there is no runtime associated with the server
解决:
项目右键 –> Properties –> Targeted Runtimes –> New
添加 tomcat即可