Oxygen selection plugin Classnotfoundexception
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Fri Jul 05, 2013 11:16 pm
Oxygen selection plugin Classnotfoundexception
Post by adam.elkins »
I have been working on implementing a selection plugin and have run into a problem. Oxygen is reporting a Classnotfoundexception when it starts, stating it can't find the class my plugin is pointing to. I have two classes. I have one class that extends ro.sync.exml.plugin.Plugin. The other class implements ro.sync.exml.plugin.selection.SelectionPluginExtension. I compiled those classes into a jar and placed it in my [oxygen install tree]/plugins/MyPlugin/lib folder. I also created a plugins.xml and added it to the [oxygen install tree]/plugins/MyPlugin/ folder. Is there anything wrong with what I'm doing or are there any common pitfalls which might cause this error?
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Oxygen selection plugin Classnotfoundexception
Post by alex_jitianu »
Hello,
The first thing you should check is if your plugin.xml file has a runtime entry to your jar, something like this:
If this entry exists then you should check if the jar really contains those classes. To do that you could just open the jar as an zip archive and see if those classes are indeed in it.
If none of the above situations is the culprit then you could zip the whole plugin directory and send it to us on support@oxygenxml.com so that we can investigate it a bit more.
Best regards,
Alex
The first thing you should check is if your plugin.xml file has a runtime entry to your jar, something like this:
Code: Select all
<runtime>
<library name="lib/caplines.jar"/>
</runtime>
If none of the above situations is the culprit then you could zip the whole plugin directory and send it to us on support@oxygenxml.com so that we can investigate it a bit more.
Best regards,
Alex
-
- Posts: 2
- Joined: Fri Jul 05, 2013 11:16 pm
Re: Oxygen selection plugin Classnotfoundexception
Post by adam.elkins »
The compiled classes are in the jar and the runtime entry does point to that jar. I will have to send it to support.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service