解决方案一:
Ctrl+Alt+Shift+s打开projuect Structure-->Livraries-->➕-->java-->选择对应的lib目录即可!
解决方案二:在pom.xml中添加本地jar包,类似代码如下:

<dependency>

<groupId>htmlunit</groupId>

<artifactId>htmlunit</artifactId>

<version>2.21-OSGi</version>

<scope>system</scope>

<systemPath>${project.basedir}/libs/htmlunit-2.21-OSGi.jar</systemPath>

</dependency>

相关文章:

  • 2021-05-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2021-10-01
猜你喜欢
  • 2022-12-23
  • 2021-08-23
  • 2021-10-01
  • 2021-04-23
  • 2021-07-10
  • 2021-11-09
  • 2022-12-23
相关资源
相似解决方案