title: Getting java.lang.VerifyError exception while using JDOM
body: <p>Please help me to find out the way to get out of this, while using JDOM API, I am using</p>
  
  <pre><code>root.addContent(new Element("name").setText("Enlightenment"));
  </code></pre>
  
  <p>method to add the element in XML but during runtime I am getting the following exception:</p>
  
  <pre><code>java.lang.VerifyError: (class: com/asiaone/web/common/A1BusinessXmlOperation, method: create signature: ()V) Incompat`enter code here`ible argument to function
          at org.apache.jsp._business_5F_iframe_5F_page._jspService(_business_5F_iframe_5F_page.java:281)
  </code></pre>
  
  <p>After compiling the file with runtime JDOM library I am getting following exception, </p>
  
  <pre><code>java.lang.UnsupportedClassVersionError: com/asiaone/web/common/A1BusinessXmlOperation 
  (Unsupported major.minor version 49.0)
      at java.lang.ClassLoader.defineClass0(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
  </code></pre>
  
  <p>But I check the java version:</p>
  
  <pre><code>java version "1.5.0_04"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
  Java HotSpot(TM) Server VM (build 1.5.0_04-b05, mixed mode)
  </code></pre>
  
  <p>i.e. also fine. Why is this error happening now?</p>
  
  <p>`java.lang.LinkageError: LinkageError while defining class: com.asiaone.web.common.A1BusinessXmlOperation
  Could not be defined due to: com/asiaone/web/common/A1BusinessXmlOperation (Unsupported major.minor version 49.0)
  This is often caused by having a class defined at multiple
  locations within the classloader hierarchy.  Other potential causes
  include compiling against an older or newer version of the class
  that has an incompatible method signature.
  Dumping the current context classloader hierarchy:</p>