#cant access method inside object
1 messages · Page 1 of 1 (latest)
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
show the class
I don't follow. Im trying to access addMapper() method
i have it above config.addMapper as example to show it exsit
what doesn't make sense ?
what does addMapper return ?
void
so there are two problems here
first addMapper requires you to pass in a Class object
which you don't
and second
you are trying to assign void to Configuration
which you can't
im not passing anything into addMapper. I can't even access it
you can access it
why is the line showing red under. with white text (sorry didnt include number lines into image)
because of what I said
I think there is a misunderstanding. even with passing a class and not assigning void the issue is still there
show your code