英文:
ClassNotFound exception in wildfly 13 server
问题
我想在托管在 Wildfly 13 服务器上的应用程序中使用一些第三方 JAR 包。因此,我已经在 jboss-deployment-structure.xml 文件中添加了对那些位于 Wildfly 模块文件夹中的 JAR 包的模块依赖,其余的 JAR 包则打包到了应用程序的 WEB-INF/lib 文件夹中。
但是,当我运行应用程序时,位于 WEB-INF/lib 文件夹中的 JAR 包未被引用。由此我得到了 ClassNotFound 异常。如果有任何关于实现上述需求的参考或建议,将不胜感激。
英文:
I want to use some third party jars in my application which is hosted on Wildfly 13 server. So i have added the module dependency in jboss-deployment-structure.xml file for those jars which are present in wildfly modules folder and rest jars are packaged with the application WEB-INF/lib folder.
But when i am running the application, jars present in WEB-INF/lib folder are not getting referred.For which i am getting ClassNotFound Exception. Any reference or suggestions to achieve the above requirement is appreciated.
专注分享java语言的经验与见解,让所有开发者获益!
评论