Cannot use docx4j inside of JBoss 7

后端 未结 6 636
长情又很酷
长情又很酷 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条回答
  •  Happy的楠姐
    2020-12-18 07:40

    Those tow minimal steps worked for me (JBOSS 7.1.3, DOCX4J 3.2.2):

  • Configure the WEB-INF\jboss-deployment-structure.xml file

    
    
            
            
                
            
        
    
    

  • Modify my pom.xml

            
                com.googlecode.jaxb-namespaceprefixmapper-interfaces
                JAXBNamespacePrefixMapper
                2.2.4
                runtime
            
    

提交回复
热议问题