<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: JAXB Exception &amp;quot;java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext&amp;quot; in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243202#M1309280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimar,&lt;/P&gt;&lt;P&gt;Thank you very much for the response. We deployed the jar files as seperate one, in NWDI all the common jar files created as one DC and deployed it into the WAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep Bonam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 14:02:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T14:02:10Z</dc:date>
    <item>
      <title>JAXB Exception "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"</title>
      <link>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaq-p/3243200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;We are developing a WebDynpro for java application in NWDI for XML File Uploading, we have followed the below given process for that&lt;/P&gt;&lt;P&gt;1) Created one XSD as per the client table structure.&lt;/P&gt;&lt;P&gt;2) Developed one java webserver for the XSD file using jwsdp1.6&lt;/P&gt;&lt;P&gt;3) Copied that generated folder in WebDynpro application&lt;/P&gt;&lt;P&gt;4) Included all the required JAX-B jars as External jar files&lt;/P&gt;&lt;P&gt;5) Finally Compiles the application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running the application it is throwing the below exception&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;500 Internal Server Error Web Dynpro Container/SAP J2EE Engine/6.40 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to process request. Please contact your system administrator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Summary &lt;/P&gt;&lt;P&gt;While processing the current request, an exception occured which could not be handled by the application or the framework. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Root Cause &lt;/P&gt;&lt;P&gt;The initial exception that caused the request to fail, was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext&lt;/P&gt;&lt;P&gt;at com.ae.energy.scm.wdp.InternalXMLFileUpload.&amp;lt;init&amp;gt;(InternalXMLFileUpload.java:403)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt;&lt;P&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)&lt;/P&gt;&lt;P&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;/P&gt;&lt;P&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:274)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We checked entire application to ensure all the required files included, Could you please give us the cause for this exception and please explain us the solution to resolve it.&lt;/P&gt;&lt;P&gt;We are very thankful for all the people who can give their support in resolving this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sandeep Bonam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 06:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaq-p/3243200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-03T06:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: JAXB Exception "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"</title>
      <link>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243201#M1309279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've done only the design time part of the job. You also need a runtime reference from your application to the JAXB library (and this library needs to be built and deployed separately since AS Java 6.40 doesn't contain JAXB). For more information: [Working with J2EE Engine Libraries|http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;\-- Vladimir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2008 13:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243201#M1309279</guid>
      <dc:creator>Vlado</dc:creator>
      <dc:date>2008-01-03T13:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: JAXB Exception "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"</title>
      <link>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243202#M1309280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vladimar,&lt;/P&gt;&lt;P&gt;Thank you very much for the response. We deployed the jar files as seperate one, in NWDI all the common jar files created as one DC and deployed it into the WAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep Bonam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 14:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243202#M1309280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: JAXB Exception "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext"</title>
      <link>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243203#M1309281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm able to resolve the issue in different approach. Thanks for the support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 12:25:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/jaxb-exception-quot-java-lang-noclassdeffounderror-javax-xml-bind/qaa-p/3243203#M1309281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T12:25:04Z</dc:date>
    </item>
  </channel>
</rss>

