I am using the external JAR files while developing the plug-in. I have configur

Certified Lead Developer
I am using the external JAR files while developing the plug-in. I have configured these JAR files in the plug-in package.
And, It is working fine when it is running from Eclipse but it is not loading the plug-in when I'm deploying it.

I'm facing following problems while deploying and using as smart service.

1. Following is the error message when deploying the plug-in

"Failed to enable Plug-in '<Plugin Name>' (com.appiancorp.plugins.<pluginName>) version 1.0.0: 'There was a problem loading the descriptor for module '<Plugin module name>' in plugin '<Plugin name>'.
Error retrieving dependency of class: com.appiancorp.plugins.<plugin name>.<module name>. Missing class: org/abcd/manager/action/<class name>'"

But this class is actually exists in the JAR file. So Is there any other way to export plug-in with additional JARs?

I have modified the code(removed the code related to above class) and tried to deploy. it is deplo...

OriginalPostID-159899

OriginalPostID-159899

  Discussion posts and replies are publicly visible

Parents
  • Hi Vinod, Can you check whether your external jars are placed in lib folder? if yes, then can you check whether that jar with the path as "/lib/jar name" is added to your classpath? if yes, then verify the build xml, if it is missing the following statement:

    <copy todir="./tmp/META-INF/lib">
    <fileset dir="./lib">
    <include name="**/*.jar"/>
    </fileset>
    </copy>

    let me know, whether this has resolved your problem or not.
Reply
  • Hi Vinod, Can you check whether your external jars are placed in lib folder? if yes, then can you check whether that jar with the path as "/lib/jar name" is added to your classpath? if yes, then verify the build xml, if it is missing the following statement:

    <copy todir="./tmp/META-INF/lib">
    <fileset dir="./lib">
    <include name="**/*.jar"/>
    </fileset>
    </copy>

    let me know, whether this has resolved your problem or not.
Children
No Data