Issues when upgrading to SDK 18.1.0.0
Post here questions and problems related to oXygen frameworks/document types.
Issues when upgrading to SDK 18.1.0.0
Hello everyone,
I upgraded the oxygen SDK from 18.0.0.3 to 18.1.0.0.
When I try to call this method :
I got this error :
I added this dependency in my project :
This error seems to disappear... Is it normal I had to add this dependency ?
Then, when I call the method load of the ro.sync.ecss.extensions.api.component.AuthorComponentProvider class, I get this error (the component is not created) :
I do not find the dependency to add in order to resolve this issue. Can you help me on this issue ?
Thanks in advance,
Johann
I upgraded the oxygen SDK from 18.0.0.3 to 18.1.0.0.
When I try to call this method :
Code: Select all
(AuthorComponentProvider) factory.createEditorComponentProvider(editors, EditorPageConstants.PAGE_TEXT);
Code: Select all
java.lang.NoClassDefFoundError: com/google/common/cache/CacheBuilder
at ro.sync.azcheck.ui.spellcontrol.hunspell.d$_c.<init>(Unknown Source) ~[oxygen-18.1.0.0.jar:na]
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.n(Unknown Source) ~[oxygen-18.1.0.0.jar:na]
at ro.sync.azcheck.ui.spellcontrol.hunspell.f$_b.<init>(Unknown Source) [oxygen-18.1.0.0.jar:na]
at ro.sync.azcheck.ui.spellcontrol.hunspell.f.ib(Unknown Source) [oxygen-18.1.0.0.jar:na]
at ro.sync.azcheck.ui.spellcontrol.f.q(Unknown Source) [oxygen-18.1.0.0.jar:na]
I added this dependency in my project :
Code: Select all
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
Then, when I call the method load of the ro.sync.ecss.extensions.api.component.AuthorComponentProvider class, I get this error (the component is not created) :
Code: Select all
java.lang.ClassNotFoundException: org.w3c.flute.css.sac.ConditionFactory
at ro.sync.ecss.component.o.xyh(Unknown Source)
at ro.sync.exml.editor.xmleditor.pageauthor.g.aci(Unknown Source)
at ro.sync.exml.editor.k.drh(Unknown Source)
Thanks in advance,
Johann
-
- Posts: 1009
- Joined: Wed Nov 16, 2005 11:11 am
Re: Issues when upgrading to SDK 18.1.0.0
Post by alex_jitianu »
Hi Johann,
Best regards,
Alex
In version 18.1 we added a dependency for "com.google.guava". If your POM file declares a dependency on our SDK, then all these additional dependencies would be picked up automatically:This error seems to disappear... Is it normal I had to add this dependency ?
Code: Select all
<dependency>
<groupId>com.oxygenxml</groupId>
<artifactId>oxygen-sdk</artifactId>
<version>18.1.0.0</version>
</dependency>
The above dependency should fix this second exception too. But, if you prefer to specifically refer a subset of JARs, then a dependecy like this one should fix it:I do not find the dependency to add in order to resolve this issue. Can you help me on this issue ?
Code: Select all
<dependency>
<groupId>com.oxygenxml</groupId>
<artifactId>oxygen-css-flute-parser</artifactId>
<version>18.1.0.0</version>
</dependency>
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)
- ↳ 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