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

Stack Overflow | Raied Raafat | 3 months ago
  1. 1

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

    Stack Overflow | 3 months ago | Raied Raafat
    java.lang.NoClassDefFoundError: org/openxmlformats/schemas/wordprocessingml/x2006/main/impl/CTStylesImpl$1StyleList
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: How to resolve – Part 2 ~ Java EE Support Patterns | 3 days ago
    java.lang.NoClassDefFoundError: com/lowagie/text/SplitCharacter
  6. 0

    Streambaby - new streaming application - Page 82 - TiVo Community | 1 year ago
    java.lang.NoClassDefFoundError: net/sf/ffmpeg_java/v53/AVFormatLibrary

  1. Nikolay Rybak 2 times, last 2 days ago
  2. rp 6 times, last 3 days ago
  3. marcbouvierdav 1 times, last 5 days ago
  4. Benj-AD 2 times, last 1 week ago
  5. Pilleo 2 times, last 2 weeks ago
54 more registered users
41 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