Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Jar classes not accessible
Jar classes not accessible [message #1831538] Sat, 22 August 2020 07:17 Go to next message
Nipun Mittal is currently offline Nipun MittalFriend
Messages: 4
Registered: August 2020
Junior Member
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


Thanks & Regards
Nipun
Re: Jar classes not accessible [message #1831546 is a reply to message #1831538] Sat, 22 August 2020 14:45 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

Can you expand the contents of that jar, under the Referenced Libraries section, and verify that those classes are actually there?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Jar classes not accessible [message #1831547 is a reply to message #1831546] Sat, 22 August 2020 17:44 Go to previous messageGo to next message
Nipun Mittal is currently offline Nipun MittalFriend
Messages: 4
Registered: August 2020
Junior Member
Yes. you can have a look yourself.

https://imgur.com/uFNB7a3


Thanks & Regards
Nipun
Re: Jar classes not accessible [message #1831549 is a reply to message #1831547] Sun, 23 August 2020 03:27 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

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.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Jar classes not accessible [message #1831555 is a reply to message #1831549] Sun, 23 August 2020 13:14 Go to previous messageGo to next message
Nipun Mittal is currently offline Nipun MittalFriend
Messages: 4
Registered: August 2020
Junior Member
Yes. I have attached it. Please have a look. Are there some obvious reasons which could result this error?

Thanks & Regards
Nipun
Re: Jar classes not accessible [message #1831557 is a reply to message #1831555] Sun, 23 August 2020 13:53 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

I think you should have the jar in only one of those categories, and that it should be under Classpath, not Modulepath.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Jar classes not accessible [message #1831558 is a reply to message #1831557] Sun, 23 August 2020 14:00 Go to previous messageGo to next message
Nipun Mittal is currently offline Nipun MittalFriend
Messages: 4
Registered: August 2020
Junior Member
Still same issue :(

Thanks & Regards
Nipun
Re: Jar classes not accessible [message #1831623 is a reply to message #1831558] Tue, 25 August 2020 13:07 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

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?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:add newline to template?
Next Topic:Error during importing of Rest Assured package
Goto Forum:
  


Current Time: Fri Apr 19 23:25:54 GMT 2024

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

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

Back to the top