Today, a jar package has been introduced into the project. When install is typed as war package, the package XXX does not exist.
The solution is as follows: add a paragraph to the POM file.
<configuration>
<source>1.7</source>
<target>1.7</target>
<!--Add this paragraph here, because my jar package is introduced under the WEB-INF path, so write this path here-->
<compilerArguments>
<extdirs>src/main/webapp/WEB-INF/lib</extdirs>
</compilerArguments>
</configuration>
Finally, install succeeded!
Read More:
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- [Solved] maven Install Error: MavenReportException: Error while generating Javadoc:
- How to Install FFmpeg on Linux
- How To Install Java with Apt-Get on Ubuntu 16.04
- [Solved] Acrobat DC 2022 Install Error: Cannot Install Acrobat Update Service
- How to Install MongoDB Community Edition Manually on mac and linux
- How to Solve Cython-bbox pip install Error
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Docker: How to Install Nacos
- Mac: How to Install homebrew, nginx, PHP and MySQL
- How To Install WordPress with LAMP on Ubuntu 16.04
- How to Solve Oracle 11g Install Stuck 86% error on Linux
- Install the mxnet-gpu version to solve the problem of “OSError: libnccl.so.2” when importing
- How to Sole cmd Install typeScript Error
- How to Install PSSH in Centos7
- [Solved] faiss Failed to install Error: No version of faiss found that meets the requirements
- Macos: How to Solve cocoapods Install Error
- How to install PIL in Python 3
- [Solved] ORB_SLAM Install Error: error: ‘std::chrono::monotonic_clock’ has not been declared
- COLMAP Install Error: Undefined reference to libtiff4.0 [Solved]