Skip to main content



      Home
Home » Newcomers » Newcomers » Package * not accessible(Error received due to packages not being accessible)
Package * not accessible [message #1824037] Mon, 06 April 2020 15:54 Go to next message
Eclipse UserFriend
I am attempting follow a tutorial on Cucumber using eclipse. I followed the steps up to the point where I enter the following lines in an eclipse class

import org.junit.runner.RunWith;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;

I'm receiving an error that these packages are not accessible. I've been researching it and even posted a help comment on the tutorial, but haven't heard anything yet.

Does anyone out there have any ideas?
Re: Package * not accessible [message #1824044 is a reply to message #1824037] Mon, 06 April 2020 22:27 Go to previous messageGo to next message
Eclipse UserFriend
Which tutorial?
Re: Package * not accessible [message #1824077 is a reply to message #1824044] Tue, 07 April 2020 09:21 Go to previous messageGo to next message
Eclipse UserFriend
I would guess that you either miss the dependencies (you need to add Cucumber's JARs to your project's build path) or face issues related to Java 9+ modules. This thread might help.
Re: Package * not accessible [message #1824089 is a reply to message #1824077] Tue, 07 April 2020 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Following the steps of the tutorial, I did add the jar files to the build path. Unfortunately the thread didn't help me. Thanks anyway.
Re: Package * not accessible [message #1824115 is a reply to message #1824089] Wed, 08 April 2020 03:24 Go to previous message
Eclipse UserFriend
So, could you maybe tell us which tutorial you're following or share a link to your source code?
Previous Topic:ECLIPSE BUILD ERRORS
Next Topic:Eclipse with Wordpress
Goto Forum:
  


Current Time: Tue Jul 08 15:39:11 EDT 2025

Powered by FUDForum. Page generated in 0.13163 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top