Cannot use docx4j inside of JBoss 7

后端 未结 6 637
长情又很酷
长情又很酷 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:20

    I assume you are using Java 7. I was able to solve this issue with JBoss EAP 6.2 running on

    java version "1.7.0_55"
    OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.13.10.1)
    OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
    
    1. Define following JBoss module:

      
      
          
              
              
                  
                      
                  
              
          
      
      
    2. Add dependency on this module to your WEB-INF/jboss-deployment-structure.xml.

提交回复
热议问题