Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-356

AnakiaJDOMFactory is extended illegal class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Incomplete
    • 1.4
    • None
    • Anakia
    • None
    • Operating System: All
      Platform: All
    • 33628

    Description

      I can't use AnakiaJDOMFactory.

      If I write 'JDOMFactory factory = new AnakiaJDOMFactory();', Eclipse say Problems.
      The description is 'The type org.jdom.input.DefaultJDOMFactory cannot be
      resolved. It is indirectly referenced from required .class files'.

      I found the problem that AnakiaJDOMFactory is extended illegal class -
      org.jdom.input.DefaultJDOMFactory.
      The package of DefaultJDOMFactory of JDOM 1.0 is not org.jdom.input but org.jdom.

      Perhaps, I think that it can compile AnakiaJDOMFactory with the problem since
      the jar file of old JDOM is in your environment to find DefaultJDOMFactory from
      the old jar.
      I temporarily make the following classes and have evaded this problem.

      package org.jdom.input;
      public class DefaultJDOMFactory extends org.jdom.DefaultJDOMFactory {
      }

      I wishe that this problem be corrected early.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kawaz-issues.apache.org-bugzilla@7cho-me.com KaWaZ
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: