Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » logger.getloggerclass source not found(logger.getloggerclass source not found)
logger.getloggerclass source not found [message #1773479] Thu, 28 September 2017 13:40
Rubane S is currently offline Rubane SFriend
Messages: 1
Registered: September 2017
Junior Member
Experts

I'm trying to test connection between twitter and eclipse. By using API and when I'm executing connection I'm getting some source not found error.

Can anybody help here please?

attach is the debug screenshot and below is the error.

Exception in thread "main" java.lang.AssertionError: java.lang.IllegalAccessException: Class twitter4j.internal.logging.Logger can not access a member of class twitter4j.StdOutLoggerFactory with modifiers ""
at twitter4j.internal.logging.Logger.getLoggerFactoryIfAvailable(Logger.java:90)
at twitter4j.internal.logging.Logger.<clinit>(Logger.java:46)
at twitter4j.auth.OAuthAuthorization.<clinit>(OAuthAuthorization.java:46)
at twitter4j.auth.AuthorizationFactory.getInstance(AuthorizationFactory.java:40)
at twitter4j.TwitterFactory.<clinit>(TwitterFactory.java:39)
at com.saphanatutorial.util.TwitterConnection.getInstance(TwitterConnection.java:26)
at com.saphanatutorial.util.TwitterConnection.main(TwitterConnection.java:35)
Caused by: java.lang.IllegalAccessException: Class twitter4j.internal.logging.Logger can not access a member of class twitter4j.StdOutLoggerFactory with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at twitter4j.internal.logging.Logger.getLoggerFactoryIfAvailable(Logger.java:83)
... 6 more


Previous Topic:Using Java 9 Included Modules in Projects
Next Topic:Unable to add Java Application launcher in Run Configurations
Goto Forum:
  


Current Time: Fri Dec 15 20:08:53 GMT 2017

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

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