java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/impl/CTStylesImpl$1StyleList

Stack Overflow | Raied Raafat | 7 months ago
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 1

    How to convert .docx to pdf in java using apache poi?

    Stack Overflow | 7 months ago | Raied Raafat
    java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/impl/CTStylesImpl$1StyleList
  2. 0
    samebug tip
    Look for missing class files, specially org.I0Itec.zkclient.IZkStateListener.
  3. 0

    I ran import maven projects from SCM against this version of maven...>> in a command shell, i went to the top level directory of the project and typed mvn clean install The project built successfully as shown in the output below.. I selected F5 (refresh) and rebuilt the project in Eclipse. I observed many red X's on the top level projects indicating compile problems (even though the command line build was fine)... Next I tried right clicking on the top level maven project and choosing run as / maven install. This result in the build errors you can see below. {noformat} [INFO] [jar:jar] [INFO] Building jar: C:\ebay\m2eclipse\workspace.tues2\maven\maven-plugin-registry\target\maven-plugin-registry-2.1.0-M1.jar [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Project Builder [INFO] [INFO] Id: org.apache.maven:maven-project:jar:2.1.0-M1 [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [remote-resources:process] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: C:\ebay\m2eclipse\workspace.tues2\maven\maven-project\target\surefire-reports org.apache.maven.surefire.booter.SurefireExecutionException: Scm; nested exception is java.lang.NoClassDefFoundError: Scm java.lang.NoClassDefFoundError: Scm at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods( at java.lang.Class.getMethod0( at java.lang.Class.getMethod( at org.apache.maven.surefire.junit.JUnitTestSet.createInstanceFromSuiteMethod( at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject( at org.apache.maven.surefire.junit.JUnitTestSet.getTestCount( at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets( at org.apache.maven.surefire.Surefire.createSuiteFromDefinition( at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess( at org.apache.maven.surefire.booter.SurefireBooter.main( Caused by: java.lang.ClassNotFoundException: Scm at$ at Method) at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass( at java.lang.ClassLoader.loadClassInternal( ... 16 more {noformat}

    Sonatype JIRA | 8 years ago | Deleted User
    java.lang.NoClassDefFoundError: Scm
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot find class [com.springdemo] for bean with name 'helloworld' defined in class path resource [bean.xml]

    Stack Overflow | 3 years ago | Laxmi Kadariya
    org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.springdemo] for bean with name 'helloworld' defined in class path resource [bean.xml]; nested exception is java.lang.ClassNotFoundException: com.springdemo
  6. 0

    Why Jandex and Classmate Libraries Used in Hibernate 4.2 Core | 9 months ago
    java.lang.NoClassDefFoundError: com/fasterxml/classmate/TypeResolver

  1. iferca 3 times, last 3 weeks ago
  2. andyglick 1 times, last 3 weeks ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. carloscharx 6 times, last 4 weeks ago
  5. poroszd 1 times, last 1 month ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException


  2. Java RT
    1.$ Source)
    2. Method)
    3. Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    6. java.lang.ClassLoader.loadClass(Unknown Source)
    6 frames
  3. Apache POI
    1. org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTStylesImpl.getStyleList(Unknown Source)
    1 frame
  4. org.apache.poi
    1. org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.initialize(
    2. org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.<init>(
    3. org.apache.poi.xwpf.converter.core.styles.XWPFStylesDocument.<init>(
    4. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.createStylesDocument(
    5. org.apache.poi.xwpf.converter.core.XWPFDocumentVisitor.<init>(
    6. org.apache.poi.xwpf.converter.pdf.internal.PdfMapper.<init>(
    7. org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(
    8. org.apache.poi.xwpf.converter.pdf.PdfConverter.doConvert(
    9. org.apache.poi.xwpf.converter.core.AbstractXWPFConverter.convert(
    9 frames
  5. com.siparadigm.tiger
    1. com.siparadigm.tiger.annotate.test.doGenerate(
    2. com.siparadigm.tiger.annotate.test.main(
    2 frames