-
1. Re: How to fix this problem with windfly ?
mayerw01 Oct 7, 2019 9:25 AM (in response to joaquinmewtwo)Apparently you did not include the JCraft classes
-
2. Re: How to fix this problem with windfly ?
joaquinmewtwo Oct 7, 2019 10:02 AM (in response to mayerw01)Hi Wolfgang Mayer.
Well, where must i to include Jcraft classes ?? because i understand the pom.xml should to have Jcraft. So i wrote this code in that file:
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.53</version>
</dependency>
nevertheless, this don't work, i have the same error when i try to up the WAR.
Could you give me some hand to this please ?
Thank you
-
3. Re: How to fix this problem with windfly ?
mayerw01 Oct 7, 2019 12:03 PM (in response to joaquinmewtwo)You could try this:
Add a directory $JBOSSHOME\modules\com\jcraft\jsch\mainCopy the jar into this directory
add a module.xml file to this directory. It should look like this:
<module xmlns="urn:jboss:module :1.3" name="com.jcraft.jsch">
<resources >
<resource-root path="jsch-0.1.53.jar"/>
</resources >
<dependencies >
<module name="javax.api"/>
</dependencies >
</module >
restart your server
-
4. Re: How to fix this problem with windfly ?
joaquinmewtwo Oct 7, 2019 1:47 PM (in response to mayerw01) -
5. Re: How to fix this problem with windfly ?
zhurlik Oct 8, 2019 3:04 AM (in response to joaquinmewtwo)Hi,
At least I see that path should be jsch.jar instead of jsch-01.53.jar
Thanks,
Vlad