Hi, This is likely due to a change from the *List() methods to *Array() methods in POI in 3.11-betaX, you can either use the full char or also use the getFieldArray() Method. See http://poi.apache.org/faq.html#faq-N10025 for more details.
Dominik. On Tue, Nov 25, 2014 at 2:27 PM, <[email protected]> wrote: > > Hi, > i 'm trying to create a Pivot Table. > > This is the code snippets: > > ..... > CTPivotTableDefinition ct = pivotTable.getCTPivotTableDefinition(); > CTColFields a = ct.getColFields(); > > List<CTField> b = a.getFieldList(); > ....... > > I achieve the following error on line List<CTField> b = a.getFieldList(); > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/openxmlformats/schemas/spreadsheetml/x2006/main/impl/CTColFieldsImpl$1FieldList > at > org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTColFieldsImpl.getFieldList(Unknown > Source) > at it.test.Merge.main(Merge.java:203) > Caused by: java.lang.ClassNotFoundException: > org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTColFieldsImpl$1FieldList > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > > > Any idea? > Excuse for my english. > > > > Best regards > > ________________________________ > > This message is for the designated recipient only and may contain privileged, > proprietary, or otherwise confidential information. If you have received it > in error, please notify the sender immediately and delete the original. Any > other use of the e-mail by you is prohibited. Where allowed by local law, > electronic communications with Accenture and its affiliates, including e-mail > and instant messaging (including content), may be scanned by our systems for > the purposes of information security and assessment of internal compliance > with Accenture policy. > ______________________________________________________________________________________ > > www.accenture.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
