Dibakar Sinha
asked on
Facing this exception any idea :- Caused by: java.lang.ClassNotFoundException: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTSheet
Caused by: java.lang.ClassNotFoundExc eption: org.openxmlformats.schemas .spreadshe etml.x2006 .main.CTSh eet
Below jars are already present
poi-3.15.jar
poi-ooxml-3.7-20101029.jar
xmlbeans-2.6.0.jar
commons-collections4-4.1.j ar
Below jars are already present
poi-3.15.jar
poi-ooxml-3.7-20101029.jar
xmlbeans-2.6.0.jar
commons-collections4-4.1.j
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That class is from ooxml-schemas-1.0.jarBe aware that using jars that just happen to contain the class that wasn't found could lead to some nasty problems
It's actually in poi-ooxml-schemas-3.15.jar, which is part of the current poi distribution. You should use it all
Dibakar Sinha: Why don't you have this jar?
That's not a good idea really - it's context-free and will probably return any old jar it happens to find a class in, irrespective of version, context, etc.