Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lombok dependency update to version 1.18.28 #42

Open
lainsw opened this issue Aug 21, 2023 · 3 comments
Open

lombok dependency update to version 1.18.28 #42

lainsw opened this issue Aug 21, 2023 · 3 comments

Comments

@lainsw
Copy link

lainsw commented Aug 21, 2023

Hi!

I just downloaded AppointmentScheduler on Ubuntu Studio 22.04.

I was getting this error:
'''
Caused by: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x1bd97254) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x1bd97254
'''
It seems like this is a lombok version issue in pom.xml.. Updating version to current (1.18.28) fixed it:
'''

org.projectlombok
lombok
1.18.28
provided

'''
I hope this was useful.

@slabiak
Copy link
Owner

slabiak commented Aug 26, 2023

hey, thx :) can you do PR with that?

@lainsw
Copy link
Author

lainsw commented Aug 29, 2023

Sure - it will probably take me a couple of days because I didn't properly branch the code before changing it.

I am still having some troubles with the scheduler not finding the paths in spring correctly. I'll log another issue once I get to that point again. I don't want to do a PR until it is completely working (and I haven't run the test suite at all).

@lainsw
Copy link
Author

lainsw commented Aug 30, 2023

Hey I now remember that the first problem I had when setting up the mvn run was that the application.properties file entries (this user and password is the owner of the appointmentscheduler mysql database):

spring.datasource.username=scheduler
spring.datasource.password=qwerty123

Don't seem to let me log in. This is the error logged to the console:

Public Key Retrieval is not allowed

If I sudo mvn it lets me log in, (not safe) but then later there are path issues when I try to create a new appointment, etc. (I think caused in part by the sudo mvn` hack.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants