the selection did not contains any resources that can run on a server

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wy727764020/article/details/83104901

随手几个servlet学习时遇到的错误:

web.xml配错(init-param应该配置在servlet里面)

导致run as 没有run on server,报错the selection did not contains any resources that can run on a server

把init-param放在servlet就可以了

猜你喜欢

转载自blog.csdn.net/wy727764020/article/details/83104901