Import not accessible [message #1823966] |
Sat, 04 April 2020 23:48  |
Eclipse User |
|
|
|
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 org.springframework.context.support.ClassPathXmlApplicationContext;
* 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.
Thanks
Sean
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07934 seconds