it happens with version 1.7 and 1.8 whenever I save a file projectlibre freezes, however I could save as for once, after it no new changes are stored.
this error is found
Exception in thread "saveProject" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at com.projity.server.data.MSPDISerializer.serializeProject(Unknown Source)
at com.projity.server.data.MSPDISerializer.serializeProject(Unknown Source)
at com.projity.server.data.MSPDISerializer.saveProject(Unknown Source)
at com.projity.exchange.MicrosoftImporter.saveProject(Unknown Source)
at com.projity.exchange.LocalFileImporter.exportFile(Unknown Source)
at com.projity.exchange.LocalFileImporter$2.run(Unknown Source)
at com.projity.job.Job$InternalRunnable.run(Unknown Source)
at com.projity.job.Job.runSwing(Unknown Source)
at com.projity.job.Job.runThread(Unknown Source)
at com.projity.job.Job.run(Unknown Source)
at com.projity.job.Job.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
... 11 more
I can confirm this is happening as well to me with version 1.6.2 on Ubuntu 18.04. I upgraded to 1.8.0-1 but presented the same problem:
What can I do to help debug this issue?
Hello
I have the same problem using Ubuntu-Mate 18.04.1 and the projectlibre_1.8.0-1.deb.
The problem does not exist when using "MX Linux" (Debian based) in a VM.
The problem does exist when using openSUSE Leap 15 with the KDE desktop and the package projectlibre 1.7.0-lp150.1.5 in a VM. This is of course an "rpm" package.
Another java-based program, Freeplane, works as expected on Ubuntu-Mate 18.04.1.
Summary:
It appears that Ubuntu 18.04 based distributions and openSUSE Leap 15 are unable to run projectLibre. This is an extensive problem.
Suggestion:
Have you considered making a "Flatpak" or a "Snap" package to achieve greater stability?
Last edit: report4bug 2018-09-28
I have the same problem.
I worked around it by installing oracle java 8 and set it to the default
and then
Unfortunately the ppa seems to be down...
I'm on Debian 10 with openJDK 11 and have same problem. Downgrade of used by default version of Java to version 8 helps me. Java have many changes after 10th version, I think problem with it.
What I do:
Install JDK8 if not, then switch to version 8:
After this I have unlimited saves of my project)
P.S.: if you using another java apps that wants higher versions of Java -right way to change used version of Java only for ProjectLibre, hope google can help with it.
The javax/xml/bind/JAXBException is because JAXB library is no longer loaded by default in JDK 9, 10 and 11 .
For JDK 9 and 10 the option:
--add-modules java.xml.bind
should load it.
But in JDK 11 the JAXB library isn't included so the best for the next ProjectLibre releases will be to include the missing libraries.
just to make sure I understand this right:
in JDK 9 and 10 I could start projectlibre with:
java --add-modules java.xml.bind projectlibrein JDK 11 I couldn't change the behavior because I had add the JAXB as a dependency to the project code.
Is there a possibility to add this in JDK 11 manually to the existing deb?
And if yes, how exactly?
TIA
ProjectLibre 1.9 is also affected. Only JDK 8 works.