Fork me on GitHub

导包错误

1
The package javax.servlet is accessible from more than one module: <unnamed>, jstl, servlet.api

今天导入包的时候出现这个错误,后来发现是导入位置错误。

1
解决方法:

1、Remove the external jars from the node “modulepath”.
2、Select the node “Classpath” then add the external jars.
3、Review that all the jars are under the node “Classpath”.
2

Your support will encourage me to continue to create!