DB to WebHelp pub problem
-
- Posts: 6
- Joined: Fri Jan 22, 2016 2:52 pm
DB to WebHelp pub problem
Post by Drumminman »
Hi.
I'm trying to publish docbook 5.0 to webhelp and have a some issue:
As I understood, I don't have some .jar lib, but what exactly? And where can I get it.
I also checked publishing with WebHelp (old) - it works.
I'm trying to publish docbook 5.0 to webhelp and have a some issue:
Code: Select all
BUILD FAILED
C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\build_docbook.xml:528: java.lang.NoClassDefFoundError: ro/sync/basic/util/Crypto
at ro.sync.xml.transformer.n.f(Unknown Source)
at ro.sync.xml.transformer.saxonee.SaxonEEUtilImpl.supplySaxonLicenseAndSchemaResolver(Unknown Source)
at net.sf.saxon.Configuration.newConfiguration(Unknown Source)
at net.sf.saxon.s9api.Processor.<init>(Processor.java:66)
at net.sf.saxon.jaxp.SaxonTransformerFactory.<init>(Unknown Source)
at net.sf.saxon.TransformerFactoryImpl.<init>(TransformerFactoryImpl.java:46)
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 java.lang.Class.newInstance(Unknown Source)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.getFactory(TraXLiaison.java:427)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.getSource(TraXLiaison.java:257)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates(TraXLiaison.java:309)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer(TraXLiaison.java:328)
at org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(TraXLiaison.java:188)
at org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:847)
at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:437)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:857)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
Caused by: java.lang.ClassNotFoundException: ro.sync.basic.util.Crypto
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
I also checked publishing with WebHelp (old) - it works.
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: DB to WebHelp pub problem
Hi Drumminman,
From the log snippet you attached it seems that you are still using an old version (v20) of Oxygen XML Editor.
The version 20 reached End-Of-Life and, implicitly, end-of-support / maintenance back in 2020. Therefore, it is recommended to upgrade your license to the latest version.
The only thing that comes to mind and which you could try is to download Oxygen XML Editor v20.1 (you can find the installation kits in the end-of-life Editor software archive) and deploy a clean installation in a separate folder, then try re-running the transformation from withing the freshly installed Oxygen, without any changes (customizations).
If you need a trial license for the latest version, to test the software prior to purchasing the upgrade, just send an email to our sales email address (sales@oxygenxml.com).
Regards,
Costin
From the log snippet you attached it seems that you are still using an old version (v20) of Oxygen XML Editor.
The version 20 reached End-Of-Life and, implicitly, end-of-support / maintenance back in 2020. Therefore, it is recommended to upgrade your license to the latest version.
The only thing that comes to mind and which you could try is to download Oxygen XML Editor v20.1 (you can find the installation kits in the end-of-life Editor software archive) and deploy a clean installation in a separate folder, then try re-running the transformation from withing the freshly installed Oxygen, without any changes (customizations).
If you need a trial license for the latest version, to test the software prior to purchasing the upgrade, just send an email to our sales email address (sales@oxygenxml.com).
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 6
- Joined: Fri Jan 22, 2016 2:52 pm
Re: DB to WebHelp pub problem
Post by Drumminman »
Khm, a bit strange behavior, but anyway..
I added path to the lib as mentioned here post48123.html?hilit=ro/sync/basic/util/Crypto#p48123
The initial error disappeared, but I got a new one
Also, in other project I have an another error with another error:
Moreover, despite the errors, I still get published pages with scripts, they open, the only thing that does not work is the search.
So, such things could be the result of out of date version Oxygen? But how?
I added path to the lib as mentioned here post48123.html?hilit=ro/sync/basic/util/Crypto#p48123
The initial error disappeared, but I got a new one
Code: Select all
images:
[xslt] Processing D:\GIT\VTB KSh\out\webhelp\s01s02s01.html to D:\GIT\BB KSh\out\webhelp\temp_modified_pages\s01s02s01.html
[xslt] Loading stylesheet C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\docbook\images.xsl
[xslt] C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\docbook\images.xsl:47:29: Fatal Error! Exception thrown by extension function {public static java.lang.String ro.sync.io.XSLTExtensionIOUtil.copyFile(java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.io.IOException}: java.io.IOException: Синтаксическая ошибка в имени файла, имени папки или метке тома (this means "syntax error in the filename, folder name or volume label") Cause: java.io.IOException: Синтаксическая ошибка в имени файла, имени папки или метке тома (this means "syntax error in the filename, folder name or volume label")
[xslt] Failed to process D:\GIT\VTB KSh\out\webhelp\s01s02s01.html
BUILD FAILED
C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\build_docbook.xml:436: The following error occurred while executing this line:
C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\build_docbook.xml:454: Fatal error during transformation using C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\docbook\images.xsl: Exception thrown by extension function {public static java.lang.String ro.sync.io.XSLTExtensionIOUtil.copyFile(java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.io.IOException}: java.io.IOException: Синтаксическая ошибка в имени файла, имени папки или метке тома (this means "syntax error in the filename, folder name or volume label"); SystemID: file:/C:/Program%20Files/Oxygen%20XML%20Editor%2020/frameworks/docbook/xsl/com.oxygenxml.webhelp/xsl/docbook/images.xsl; Line#: 47; Column#: 29
Total time: 5 seconds
The process finished with exit code: 1
Code: Select all
Transformation failed. C:\Program Files\Oxygen XML Editor 20\frameworks\docbook\xsl\com.oxygenxml.webhelp\build_common.xml:243: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/cjk/CJKAnalyzer
So, such things could be the result of out of date version Oxygen? But how?
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: DB to WebHelp pub problem
Hello,
Unfortunately, as I also mentioned earlier, we could not provide much support for this, as the version 20 reached end-of-life and, implicitly, end-of-support, so, as it is no longer maintained, we can not guarantee it will work without problems.
I recommend you should test the WebHelp publishing using the latest version 24 and see if this error occurs anymore.
If you need a license for version 24, you should feel free to register for a trial license on our website.
Best Regards,
Costin
Unfortunately, as I also mentioned earlier, we could not provide much support for this, as the version 20 reached end-of-life and, implicitly, end-of-support, so, as it is no longer maintained, we can not guarantee it will work without problems.
I recommend you should test the WebHelp publishing using the latest version 24 and see if this error occurs anymore.
If you need a license for version 24, you should feel free to register for a trial license on our website.
Best Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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