Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Hi Experts,

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.


Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project Unknown Java Problem

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

Krishnan Mahadevan

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

Please find PMO file:

   
            <dependencies>
<dependency>
<groupId>com.epam.reportportal</groupId>
<artifactId>logger-java-log4j</artifactId>
<version>4.0.1</version>
</dependency>
    <dependency>
<groupId>com.epam.reportportal</groupId>
<artifactId>agent-java-testng</artifactId>
<version>4.0.1</version>
</dependency>
        <dependency>
            <groupId>***</groupId>
            <artifactId>***</artifactId>
            <version>***</version>
        </dependency>
        <dependency>
   <groupId>commons-lang</groupId>
   <artifactId>commons-lang</artifactId>
   <version>2.6</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>3.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-lang3</artifactId>
   <version>3.7</version>
</dependency>
        <dependency>
            <groupId>org.apache.pdfbox</groupId>
            <artifactId>pdfbox</artifactId>
            <version>1.7.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.8.0</version>
        </dependency>  
    </dependencies>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    <profiles>
        <profile>
            <id>***</id>
            <build>
                <pluginManagement>
                    <plugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-surefire-plugin</artifactId>
                            <version>2.20</version>
                            <configuration>
                               <systemPropertyVariables>
                                    <path.prefix>***</path.prefix>
                                    <webdriver.runlocal>true</webdriver.runlocal>
                                    <testenv>***</testenv>
                                    <rp.launch>***</rp.launch>
    <rp.mode>***</rp.mode>
                                </systemPropertyVariables>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <configuration>
                                <source>1.8</source>
                                <target>1.8</target>
                                <!-- put your configurations here -->
                            </configuration>
                        </plugin>
                        <plugin>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <version>2.6</version>
                            <configuration>
                                <descriptors>
                                    <descriptor>${basedir}/assembly.xml</descriptor>
                                </descriptors>

                            </configuration>

                            <executions>
                                <execution>
                                    <id>make-assembly</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>single</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
             <plugin>
                            <artifactId>maven-assembly-plugin</artifactId>
                            <version>2.6</version>
                            <configuration>
                                <descriptors>
                                    <descriptor>${basedir}/assembly.xml</descriptor>
                                </descriptors>
                            </configuration>
                            <executions>
                                <execution>
                                    <id>make-assembly</id>
                                    <phase>package</phase>
                                    <goals>
                                        <goal>single</goal>
                                    </goals>
                                </execution>
                            </executions>
                        </plugin>
                    </plugins>
                </pluginManagement>
            </build>
        </profile>
    </profiles>
</project>

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.

For more options, visit https://groups.google.com/d/optout.



--



Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

Krishnan Mahadevan

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1345E637-6E91-478C-AA8F-37CADADD3FF9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1345E637-6E91-478C-AA8F-37CADADD3FF9%40gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

Krishnan Mahadevan
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmQ8jdH83n7cvN0d5ZG6aSG610bZA5Lhm7wwEvVfPuHMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Could you please share list of selenium dependencied I need so that I can check if there is some mismatch.

On Jul 2, 2018 8:07 AM, "⇜Krishnan Mahadevan⇝" <[hidden email]> wrote:
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLmQ8jdH83n7cvN0d5ZG6aSG610bZA5Lhm7wwEvVfPuHMg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZKP6_zDfATZqbQ9GbP4Mx2C5DABLOGGbizPOayTk%2BBFQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

Krishnan Mahadevan
This is what you need https://www.seleniumhq.org/download/maven.jsp

On Mon 2 Jul, 2018, 08:10 monika16jha ., <[hidden email]> wrote:
Could you please share list of selenium dependencied I need so that I can check if there is some mismatch.

On Jul 2, 2018 8:07 AM, "⇜Krishnan Mahadevan⇝" <[hidden email]> wrote:
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZKP6_zDfATZqbQ9GbP4Mx2C5DABLOGGbizPOayTk%2BBFQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkd8-D7aOaS-sgZa4FdWPzObW-GGpSe8Fo3v1OJVcZaQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Thanks much Krishnan
After adding below dependency , i am able to execute.

<dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-server</artifactId>
        <version>3.13.0</version>
    </dependency> 

On Mon, Jul 2, 2018 at 8:12 AM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
This is what you need https://www.seleniumhq.org/download/maven.jsp

On Mon 2 Jul, 2018, 08:10 monika16jha ., <[hidden email]> wrote:
Could you please share list of selenium dependencied I need so that I can check if there is some mismatch.

On Jul 2, 2018 8:07 AM, "⇜Krishnan Mahadevan⇝" <[hidden email]> wrote:
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZKP6_zDfATZqbQ9GbP4Mx2C5DABLOGGbizPOayTk%2BBFQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkd8-D7aOaS-sgZa4FdWPzObW-GGpSe8Fo3v1OJVcZaQQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--



Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZLng9Ue-7AaGtbw6R77M49HsqZpr2NOYENw1cQ2_fC2TA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

monika16jha .
Hi Krishnan,

after adding dependency i am started getting below error:

Description Resource Path Location Type
Archive for required library: 'C:/Users/monikaj/.m2/repository/org/seleniumhq/selenium/selenium-server/3.13.0/selenium-server-3.13.0.jar' in project 'xp-regression' cannot be read or is not a valid ZIP file
xp-regression Build path Build Path Problem


On Mon, Jul 2, 2018 at 1:43 PM, monika16jha . <[hidden email]> wrote:
Thanks much Krishnan
After adding below dependency , i am able to execute.

<dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-server</artifactId>
        <version>3.13.0</version>
    </dependency> 

On Mon, Jul 2, 2018 at 8:12 AM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
This is what you need https://www.seleniumhq.org/download/maven.jsp

On Mon 2 Jul, 2018, 08:10 monika16jha ., <[hidden email]> wrote:
Could you please share list of selenium dependencied I need so that I can check if there is some mismatch.

On Jul 2, 2018 8:07 AM, "⇜Krishnan Mahadevan⇝" <[hidden email]> wrote:
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZKP6_zDfATZqbQ9GbP4Mx2C5DABLOGGbizPOayTk%2BBFQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkd8-D7aOaS-sgZa4FdWPzObW-GGpSe8Fo3v1OJVcZaQQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--



Thanks and Regards,

Monika Jha




--



Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZJNdy8tpaCUc3kZMeyLhW-PVLiphGVG5angvquzPGcedQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

Krishnan Mahadevan
Looks like your jar may have gotten corrupted. Please delete the directory (which you see in the error message ) and redo mvn dependency:resolve from the directory which contains your pom.xml. 

On Mon 2 Jul, 2018, 13:54 monika16jha ., <[hidden email]> wrote:
Hi Krishnan,

after adding dependency i am started getting below error:

Description Resource Path Location Type
Archive for required library: 'C:/Users/monikaj/.m2/repository/org/seleniumhq/selenium/selenium-server/3.13.0/selenium-server-3.13.0.jar' in project 'xp-regression' cannot be read or is not a valid ZIP file
xp-regression Build path Build Path Problem


On Mon, Jul 2, 2018 at 1:43 PM, monika16jha . <[hidden email]> wrote:
Thanks much Krishnan
After adding below dependency , i am able to execute.

<dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-server</artifactId>
        <version>3.13.0</version>
    </dependency> 

On Mon, Jul 2, 2018 at 8:12 AM, ⇜Krishnan Mahadevan⇝ <[hidden email]> wrote:
This is what you need https://www.seleniumhq.org/download/maven.jsp

On Mon 2 Jul, 2018, 08:10 monika16jha ., <[hidden email]> wrote:
Could you please share list of selenium dependencied I need so that I can check if there is some mismatch.

On Jul 2, 2018 8:07 AM, "⇜Krishnan Mahadevan⇝" <[hidden email]> wrote:
Well the problem seems to suggest that you have an issue there. 

On Mon 2 Jul, 2018, 08:03 monika16jha ., <[hidden email]> wrote:
Are you talking about selenium jars ?? If yes then we don't required that as we have already some other artifacts which is being used as selenium jars.

On Jul 1, 2018 11:36 PM, "Krishnan Mahadevan" <[hidden email]> wrote:

I don’t see Selenium as a dependency. Is it being resolved via some other artifact (especially the one that is completely starred out ?)

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of "monika16jha ." <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 10:02 PM
To: <[hidden email]>
Subject: Re: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Error:- The type org.openqa.selenium.WebDriver cannot be resolved. It is indirectly referenced from required .class files

 

Please find PMO file:

 

   

            <dependencies>

                                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>logger-java-log4j</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

                <dependency>

                                                <groupId>com.epam.reportportal</groupId>

                                                <artifactId>agent-java-testng</artifactId>

                                                <version>4.0.1</version>

                                </dependency>

        <dependency>

            <groupId>***</groupId>

            <artifactId>***</artifactId>

            <version>***</version>

        </dependency>

        <dependency>

   <groupId>commons-lang</groupId>

   <artifactId>commons-lang</artifactId>

   <version>2.6</version>

</dependency>

<dependency>

                                                <groupId>io.rest-assured</groupId>

                                                <artifactId>rest-assured</artifactId>

                                                <version>3.0.0</version>

                                                <scope>test</scope>

                                </dependency>

<dependency>

   <groupId>org.apache.commons</groupId>

   <artifactId>commons-lang3</artifactId>

   <version>3.7</version>

</dependency>

        <dependency>

            <groupId>org.apache.pdfbox</groupId>

            <artifactId>pdfbox</artifactId>

            <version>1.7.0</version>

        </dependency>

        <dependency>

            <groupId>com.google.code.gson</groupId>

            <artifactId>gson</artifactId>

            <version>2.8.0</version>

        </dependency>  

    </dependencies>

    <properties>

        <maven.compiler.source>1.8</maven.compiler.source>

        <maven.compiler.target>1.8</maven.compiler.target>

    </properties>

    <profiles>

        <profile>

            <id>***</id>

            <build>

                <pluginManagement>

                    <plugins>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.20</version>

                            <configuration>

                               <systemPropertyVariables>

                                    <path.prefix>***</path.prefix>

                                    <webdriver.runlocal>true</webdriver.runlocal>

                                    <testenv>***</testenv>

                                    <rp.launch>***</rp.launch>

                                                                    <rp.mode>***</rp.mode>

                                </systemPropertyVariables>

                            </configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.apache.maven.plugins</groupId>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <source>1.8</source>

                                <target>1.8</target>

                                <!-- put your configurations here -->

                            </configuration>

                        </plugin>

                        <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

 

                            </configuration>

 

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

             <plugin>

                            <artifactId>maven-assembly-plugin</artifactId>

                            <version>2.6</version>

                            <configuration>

                                <descriptors>

                                    <descriptor>${basedir}/assembly.xml</descriptor>

                                </descriptors>

                            </configuration>

                            <executions>

                                <execution>

                                    <id>make-assembly</id>

                                    <phase>package</phase>

                                    <goals>

                                        <goal>single</goal>

                                    </goals>

                                </execution>

                            </executions>

                        </plugin>

                    </plugins>

                </pluginManagement>

            </build>

        </profile>

    </profiles>

</project>

 

On Sun, Jul 1, 2018 at 12:40 PM, Krishnan Mahadevan <[hidden email]> wrote:

Monika,

Can you please help share the pom file contents ?

 

Thanks & Regards

Krishnan Mahadevan

 

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

 

From: <[hidden email]> on behalf of monika16jha <[hidden email]>
Reply-To: <[hidden email]>
Date: Sunday, July 1, 2018 at 12:30 PM
To: Selenium Users <[hidden email]>
Subject: [selenium-users] Getting error : - Cannot find the class file for org.openqa.selenium.WebElement.

 

Hi Experts,

 

I am getting below error while updating POM.xml file , Kindly help me to resolve the issue.

 

 

Description         Resource             Path       Location               Type

The project was not built since its build path is incomplete. Cannot find the class file for org.openqa.selenium.WebElement. Fix the build path then try building this project        Unknown            Java Problem

 

The type org.openqa.selenium.WebElement cannot be resolved. It is indirectly referenced from required .class files

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/50ab7633-7870-4e5f-9965-689405220807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/EC331C1D-D646-4288-BC9F-15D988F9429A%40gmail.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

 

Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZL4GXB3%2BQdKBMHy9Rm1WFMz1qf4bq3E2NRk5Yk-QY%3DNEg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZ%2B6-fU-OJgfjNXML3YXBW%3DEB6v%2BrskNeXVrxf0Z3wjydA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZKP6_zDfATZqbQ9GbP4Mx2C5DABLOGGbizPOayTk%2BBFQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkd8-D7aOaS-sgZa4FdWPzObW-GGpSe8Fo3v1OJVcZaQQ%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--



Thanks and Regards,

Monika Jha




--



Thanks and Regards,

Monika Jha

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAGHNrZJNdy8tpaCUc3kZMeyLhW-PVLiphGVG5angvquzPGcedQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/

My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CANikZLkbuAGTiFE1EyhC%2BVt-2M3z0NR3ksSZ%2B5BMvduqpKi3EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.