简体   繁体   中英

Add Jar into tomcat project

I have a project which run in tomcat. I have this error from tomcat. java.lang.ClassNotFoundException: net.glxn.qrgen.javaase.QRCode. I know that this error occur because I did not import my JAR file when I was building the WAR file but then I do not have the source code anymore which mean I cannot build a WAR file again. Just wanna to know is there a way for me to put my JAR file into tomcat so the related function will call the JAR?

Thanks.

您应该能够将jar直接复制到$ CATALINA_HOME / lib中,并且可以正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM