Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Import not accessible(Import not accessible)
Import not accessible [message #1823966] Sat, 04 April 2020 23:48 Go to next message
Sean Smeg is currently offline Sean SmegFriend
Messages: 1
Registered: April 2020
Junior Member
Hey Guys,

Hoping to get a lil help. I am finding with nearly any package I am importing I am always coming across the "X is not accessible" even when going through tutorials and following it to the letter.

Have experienced this with attempting to run a simple Junit test and with trying to start a basic spring file by calling ClassPathXmlApplicationContext.

Right now I am attempting to import ClassPathXmlApplicationContext but I am getting that it is not accessible.

I have:
* Declared the import;

* Configured build path > library > Classpath > Add External jars > and selected all JARs provided. (have also tried copying them all into a folder in my eclipse project and then using Add Jar instead External jar. Same outcome

Any advice would be really appreciate and if need more info happy to provide. Have included a screenshot to show folder setup and error.

Re: Import not accessible [message #1823977 is a reply to message #1823966] Mon, 06 April 2020 01:05 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3707
Registered: July 2009
Senior Member

Delete the file. It's only used if you're using Java's built-in module system.

Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:JavaScript Content Asist in PDT!
Next Topic:Arduino AVR Board Package Download
Goto Forum:

Current Time: Wed May 27 21:20:49 GMT 2020

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

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

Back to the top