Hi,

 

I am using apache POI library version 3.5.6 in my java code. I am using
one method from POI API which is added in the version post POI 3.0.
There is another library declared in my pom.xml for JBPM. JBPM
internally uses POI library version 2.5. Some how my application makes
use of this internally used POI 2.5 and not the one which I am trying to
use explicitly (POI 3.5.6) and that gives me runtime error for the
method I am using as it is not present in the POI 2.5. How can I make
JBPM not to download POI 2.5 or how can make my application to use POI
3.5.6 and not POI 2.5?

pom.xml file looks like:

 

<dependency>

                    <groupId>org.apache.poi</groupId>

                    <artifactId>poi</artifactId>

                    <version>3.6</version>

                    <scope>compile</scope>                   

                </dependency>

                <dependency>

                   <groupId>org.apache.poi</groupId>

                   <artifactId>poi-contrib</artifactId>

                   <version>3.6</version>

                   <scope>compile</scope>

                </dependency>

                <dependency>

                    <groupId>org.apache.poi</groupId>

                    <artifactId>poi-ooxml</artifactId>

                    <version>3.7-beta2</version>

                    <scope>compile</scope>

                </dependency>

           <dependency>            

               <groupId>org.jbpm.jbpm3</groupId>

                   <artifactId>jbpm-jpdl</artifactId>

                   <version>3.3.1.GA</version>

               <scope>compile</scope>

          </dependency>

 

Thanks and Regards, 

Pradnya

Reply via email to