Cannot use docx4j inside of JBoss 7

后端 未结 6 652
长情又很酷
长情又很酷 2020-12-18 06:42

I was able to successfully create a simple project with docx4j ( http://www.docx4java.org ). This simple project successfully created and wrote on a .docx document. Now I

6条回答
  •  孤城傲影
    2020-12-18 07:32

    In Maven pom.xml place these missing dependencies and the problem was solved (on JBoss 7.1.3)

    
        org.slf4j
        slf4j-log4j12
        1.6.1
    
    
        javax.servlet
        servlet-api
        2.5
        provided
    
    
        com.sun.xml.bind
        jaxb-impl
        2.2.7
    
    
        com.googlecode.jaxb-namespaceprefixmapper-interfaces
        JAXBNamespacePrefixMapper
        2.2.4
        runtime
    
    
        xerces
        xercesImpl
        2.11.0
    
    

提交回复
热议问题