Hybrid framework error | Selenium Forum
P
Poornima K P Posted on 15/01/2021

I am getting 'java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.put' ecxeption while running a login test in Eclipse. I have updated the pom.xml with the dependecies, but still facing this issue. The pom.xml file is attached. Please let me know if there is any change in this?

 


A
Ashish Thakur Replied on 17/01/2021

This happens when you do not have all the dependencies of POI API in your project. Please add all the POI API dependencies in the project.

<!-- POI -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.6</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.6</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.6</version>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.xmlbeans</groupId>
<artifactId>xmlbeans</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>


Related Posts