Plugin: ClassNotFoundException "myGroup.eclipse.SamplePlugin"
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 1
- Joined: Tue Jan 26, 2016 3:46 pm
Plugin: ClassNotFoundException "myGroup.eclipse.SamplePlugin"
Hello dear Oxygen fans,
At the moment I want to be able to write a plugin for Oxygen using eclipse.
My latest problem is the following "ClassNotFoundException: myGroup.eclipse.SamplePlugin".
What I would like to know is: Why does it search for "myGroup.eclipse.SamplePlugin" and how can I change it to the "WorkspaceAccessPlugin" which is using this path "package myGroup.workspace;"?
I used this websites setup guide: https://www.oxygenxml.com/doc/versions/ ... lugin.html
Eclipse version: Mars
Oxygen version: 15.2
Full Error Report:
At the moment I want to be able to write a plugin for Oxygen using eclipse.
My latest problem is the following "ClassNotFoundException: myGroup.eclipse.SamplePlugin".
What I would like to know is: Why does it search for "myGroup.eclipse.SamplePlugin" and how can I change it to the "WorkspaceAccessPlugin" which is using this path "package myGroup.workspace;"?
I used this websites setup guide: https://www.oxygenxml.com/doc/versions/ ... lugin.html
Eclipse version: Mars
Oxygen version: 15.2
Full Error Report:
Code: Select all
java.lang.ClassNotFoundException: myGroup.eclipse.SamplePlugin
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at ro.sync.exml.plugin.PluginManager.f(Unknown Source)
at ro.sync.exml.plugin.PluginManager.i(Unknown Source)
at ro.sync.exml.plugin.PluginManager.<init>(Unknown Source)
at ro.sync.exml.plugin.PluginManager.getInstance(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher$1.b(Unknown Source)
at ro.sync.exml.xc.d(Unknown Source)
at ro.sync.exml.options.pd.d(Unknown Source)
at ro.sync.exml.options.u.h(Unknown Source)
at ro.sync.exml.options.vc.h(Unknown Source)
at ro.sync.exml.options.u.<init>(Unknown Source)
at ro.sync.exml.options.vc.<init>(Unknown Source)
at ro.sync.exml.options.vc.j(Unknown Source)
at ro.sync.exml.options.Options.init(Unknown Source)
at ro.sync.exml.options.Options.init(Unknown Source)
at ro.sync.exml.options.Options.z(Unknown Source)
at ro.sync.exml.options.Options.getInstance(Unknown Source)
at ro.sync.exml.r.e(Unknown Source)
at ro.sync.exml.zip.db.<clinit>(Unknown Source)
at ro.sync.exml.zip.r.b(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at ro.sync.exml.Oxygen.main(Unknown Source)
0 WARN [ main ] ro.sync.ui.application.ApplicationLauncher - Cannot transfer parameters to the running <oXygen/> XML Developer.
Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at ro.sync.exml.cd.d(Unknown Source)
at ro.sync.exml.tc.enc(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at ro.sync.exml.Oxygen.main(Unknown Source)
0 WARN [ main ] ro.sync.exml.tc - Could not send data to the running instance from port: 52687 due to Connection refused: connect
-
- Posts: 1017
- Joined: Wed Nov 16, 2005 11:11 am
Re: Plugin: ClassNotFoundException "myGroup.eclipse.SamplePlugin"
Post by alex_jitianu »
Hi,
It looks like you've changed the packages' names after you've generated the Maven project. Although there is nothing wrong with that you should also update plugin.xml. Please open plugin.xml and replace the values of attributes @class from elements "plugin" and "extension" with the new class qualified names.
Best regards,
Alex
It looks like you've changed the packages' names after you've generated the Maven project. Although there is nothing wrong with that you should also update plugin.xml. Please open plugin.xml and replace the values of attributes @class from elements "plugin" and "extension" with the new class qualified names.
Best regards,
Alex
Return to “SDK-API, Frameworks - Document Types”
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