https://bz.apache.org/bugzilla/show_bug.cgi?id=62874

            Bug ID: 62874
           Summary: NoClassDefFoundError on calling
                    getSummaryInformationProperties() method of
                    PropertyIDMap class
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HPSF
          Assignee: dev@poi.apache.org
          Reporter: varya.ad...@gmail.com
  Target Milestone: ---

Following exception is seen when we try to create an object of PropertyIDMap
class using getSummaryInformationProperties() or
getDocumentSummaryInformationProperties() or getFallbackProperties() method:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/poi/hpsf/wellknown/PropertyIDMap
        at com.day.cq.dam.handler.standard.msoffice.Hello.main(Hello.java:10)
Caused by: java.lang.ClassNotFoundException:
org.apache.poi.hpsf.wellknown.PropertyIDMap
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 1 more

I wrote a simple class(Hello.java) to reproduce this (after setting up all the
dependencies) :

package hello;

import org.apache.poi.hpsf.wellknown.PropertyIDMap;

public class Hello {
    public static void main(String[] args) {
        System.out.println(PropertyIDMap.PID_TITLE);
        PropertyIDMap p = PropertyIDMap.getFallbackProperties();

    }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to