error generating xml files
error generating xml files
i was using icedtea-next e on an old computer and never had any problems generating xml files. with openwebstart, open the program in java, I can fill in all the fields and save them, but when I have to generate the xml file for sending the system gives an error, I tried to give 777 permissions in the destination folders, but the problem has not been solved, I am attaching some files that I hope will be useful to solve the anomaly
- Attachments
-
- Screenshot_20220509_185946.png (66.5 KiB) Viewed 2067 times
-
- Screenshot_20220529_142540.png (178.36 KiB) Viewed 2067 times
-
- Screenshot_20220529_155753.png (301.95 KiB) Viewed 2067 times
-
- Posts: 538
- Joined: 24 Mar 2020, 13:37
Re: error generating xml files
OWS is starting your application but your application is crashing because it cannot find an class javax.activation.DataHandler.
May be the JRE that was chosen to run the application does not have this class.
Please send the openwebstart log files by enabling logging as described here: https://openwebstart.com/docs/OWSGuide.html#_logging
May be the JRE that was chosen to run the application does not have this class.
Please send the openwebstart log files by enabling logging as described here: https://openwebstart.com/docs/OWSGuide.html#_logging
-
- Posts: 79
- Joined: 25 Mar 2020, 12:21
Re: error generating xml files
Really looks like your javax class is not longer included in the JVM you are using. In this case you have to add the javax activation jar to your jnlp.
Re: error generating xml files
how do i add the javax activation jar to my jnlpAndreas Ehret wrote: ↑31 May 2022, 17:17 Really looks like your javax class is not longer included in the JVM you are using. In this case you have to add the javax activation jar to your jnlp.
Re: error generating xml files
as requested I send the logsJanak Mulani wrote: ↑31 May 2022, 16:50 OWS is starting your application but your application is crashing because it cannot find an class javax.activation.DataHandler.
May be the JRE that was chosen to run the application does not have this class.
Please send the openwebstart log files by enabling logging as described here: https://openwebstart.com/docs/OWSGuide.html#_logging
- Attachments
-
- stage2.log
- (350.73 KiB) Downloaded 82 times
-
- stage1.log
- (78.86 KiB) Downloaded 94 times
-
- Posts: 538
- Joined: 24 Mar 2020, 13:37
Re: error generating xml files
HI
Your Jnlp specifies JRE version "requested: JRE with version string '1.7+"
OWS finds adn uses "using java runtime at '/home/leonardo/.cache/icedtea-web/jvm-cache/adoptium_11.0.15_x64'"
Your application is using class javax.activation.DataHandler:
This class is not present in the JRE 11. You need to specify JVM args in Jnlp file to add the appropriate module or find a library that has this class and include its jar in the jnlp.
Your Jnlp specifies JRE version "requested: JRE with version string '1.7+"
OWS finds adn uses "using java runtime at '/home/leonardo/.cache/icedtea-web/jvm-cache/adoptium_11.0.15_x64'"
Your application is using class javax.activation.DataHandler:
Code: Select all
it.finanze.entrate.sfe.xmlconverter.beanutils.exceptions.ConverterMapToXmlException: java.lang.NoClassDefFoundError: javax/activation/ DataHandler