Skip to main content



      Home
Home » Newcomers » Newcomers » Jar classes not accessible
Jar classes not accessible [message #1831538] Sat, 22 August 2020 03:17 Go to next message
Eclipse UserFriend
Hello,

I have build spark 3.0.0 artifacts using IntelliJ. Now, I have added these jars into my spark project in eclipse. The issue is it is showing "class is not accessible". Can anybody please help asap. Much appreciated.

For ease I have attached the screenshot for the same.

Thanks & Regards,
Nipun
Re: Jar classes not accessible [message #1831546 is a reply to message #1831538] Sat, 22 August 2020 10:45 Go to previous messageGo to next message
Eclipse UserFriend
Can you expand the contents of that jar, under the Referenced Libraries section, and verify that those classes are actually there?
Re: Jar classes not accessible [message #1831547 is a reply to message #1831546] Sat, 22 August 2020 13:44 Go to previous messageGo to next message
Eclipse UserFriend
Yes. you can have a look yourself.

https://imgur.com/uFNB7a3
Re: Jar classes not accessible [message #1831549 is a reply to message #1831547] Sat, 22 August 2020 23:27 Go to previous messageGo to next message
Eclipse UserFriend
Is there a picture of the Libraries tab of the project's Java Build Path property page, or the underlying .classpath file in the project's directory? A message about classes not being accessible is different from one that just says they're not found.
Re: Jar classes not accessible [message #1831555 is a reply to message #1831549] Sun, 23 August 2020 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Yes. I have attached it. Please have a look. Are there some obvious reasons which could result this error?
Re: Jar classes not accessible [message #1831557 is a reply to message #1831555] Sun, 23 August 2020 09:53 Go to previous messageGo to next message
Eclipse UserFriend
I think you should have the jar in only one of those categories, and that it should be under Classpath, not Modulepath.
Re: Jar classes not accessible [message #1831558 is a reply to message #1831557] Sun, 23 August 2020 10:00 Go to previous messageGo to next message
Eclipse UserFriend
Still same issue :(
Re: Jar classes not accessible [message #1831623 is a reply to message #1831558] Tue, 25 August 2020 09:07 Go to previous message
Eclipse UserFriend
Without the jar file, there's not much more I can think of. Is there a reason you're not using the actual released spark 3.0.0 jars?
Previous Topic:add newline to template?
Next Topic:Error during importing of Rest Assured package
Goto Forum:
  


Current Time: Mon Jul 14 15:14:16 EDT 2025

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

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

Back to the top