更新时间:2021-10-09 01:23:15
终于找到了解决方案。
我必须从官方来源下载SIGAR。
Finally found the solution. I had to download SIGAR from the official source.
然后我必须复制/粘贴整个lib文件夹(包含所有 .so
和 .dll
和诸如此类的东西)进入项目的main / src / webapp文件夹,Spring用它来存储所需的应用程序(或者我假设)。
Then I had to copy/paste the entire "lib" folder (with all the .so
and .dll
and whatnot) into the folder "main/src/webapp" of the project, which is used by Spring to store needed apps (or so I assume).
然后在运行 mvn install
之后,检查target文件夹并运行新生成的 .war
文件,一切都按预期运行。
Then after running mvn install
, checking the "target" folder and running the newly generated .war
file, everything runs as expected.