Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
5 subscribers
Views
2803 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Dear all, i have implemented a plug-in and in the META-INF\\lib folder i ha
mimar
over 10 years ago
Dear all,
i have implemented a plug-in and in the META-INF\\lib folder i have put the following libraries:
1. ooxml-schemas-1.1.jar
2. poi-3.9-20121203.jar
3. poi-ooxml-3.9-20121203.jar
4. poi-ooxml-schemas-3.9-20121203.jar
5. xbean.jar
6. xml-apis-2.0.2.jar
7. xmlbeans-2.5.0.jar
When the smart service is executing i got the followinf exception:
javax.resource.spi.work.WorkCompletedException: java.lang.LinkageError: loader constraint violation: when resolving method "javax.imageio.metadata.IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, org/apache/poi/ss/util/ImageUtils, and the class loader (instance of <bootloader>) for resolved class, javax/imageio/metadata/IIOMetadata, have different Class objects for the type org/w3c/dom/Node used in the signature
If i remove the xml-apis-2.0.2.jar from the META-INF\\lib plugin folder th...
OriginalPostID-79067
OriginalPostID-79067
Discussion posts and replies are publicly visible
Parents
0
mimar
over 10 years ago
Sathya,
i remove the xml-apis-2.0.2.jar from the META-INF\\lib plugin folder and i put the following segment in the appian-plugin.xml:
<plugin-info>
....
<bundle-instructions>
<Export-Package>org.w3c.dom</Export-Package>
</bundle-instructions>
...
</plugin-info>
and the node finally was executed succesfully.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
mimar
over 10 years ago
Sathya,
i remove the xml-apis-2.0.2.jar from the META-INF\\lib plugin folder and i put the following segment in the appian-plugin.xml:
<plugin-info>
....
<bundle-instructions>
<Export-Package>org.w3c.dom</Export-Package>
</bundle-instructions>
...
</plugin-info>
and the node finally was executed succesfully.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data