Build issues RXTX library on Wildfly 10.0

北城余情 提交于 2019-12-11 11:07:11

问题


I have a simple java application using the RXTX library and it is working fine.No links errors and no builds errors.

I made another web dynamic application (JAVA EE) using the same library but when i try to deployed it on a Wildfly 10.0 i have this error :

java.lang.NoClassDefFoundError: gnu/io/CommPortIdentifier

Which i know means that either the library is not found or loaded multiple times.

Here is the library :

and here is the hierarchy of my application :

As you can see for the Eclipse part it is ok, but on the server-side it is not working.

I aleady read this and this, but it did not solve my problem.

I tried to put the .jar and the dlls of the library in multiple folders of the wildfly server, to change the classpaths ... but nothing.

来源:https://stackoverflow.com/questions/36762416/build-issues-rxtx-library-on-wildfly-10-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!