cancel
Showing results for 
Search instead for 
Did you mean: 

XMLSerializer class not found error

0 Kudos

Hi Experts,

I am trying to convert a JSON format data into an XML using Java Mapping.

But I am getting an error in XMLSerializer class not found.

Is it a problem with proper jars not being used.

Please let me know all the jars required for XMLSerializer class for NWDS7.0 version.

Regards,

Roshan

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

have you got XOM ?

http://www.xom.nu/install.xhtml

if you're issue is with  nu/xom/Serializer

Regards,

Michal Krawczyk

0 Kudos

Hi Michal,

Thanks a lot for your help. But, I have applied the change as you said, but currently I am getting an error:

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

Do I need to do anything more in it.

Regards,

Roshan

Former Member
0 Kudos

Hi. Roshan.

You need a looger library. Please check the following steps.

  1. Download the commons-logging-1.1.1.jar file from the following url.
  2. http://commons.apache.org/downloads/download_logging.cgi  (download and extract the jar files in your computer)
  3. Add the commons-logging-1.1.1.jar file to your 'lib' folder in your project if you are using an IDE like netbeans or add it to your classpth if you are doing it manually
  4. Rebuild your project and run.

Regards.

Lucho

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Yes LogFactory class is missing during runtime. This class comes in different jars. You might want to see this link and figure out your jar that contains this class

http://www.findjar.com/class/org/apache/commons/logging/LogFactory.html