Could not find or load main class org.eclipse.persistence.tools.weaving.jpa.CubaStaticWeave

Hi!

Context: I’ve been working as DevOps for a company which has been using Cuba Platform since 2019 for development, the system the team built is working just fine with few issues across the years. For a long time there were no new builds of the application and now, after almost a year, there are enhancements to apply but we´re facing a issue at building the application. There is the log with stacktrace attached

norma-build-error.txt (12.8 KB)

Thanks in advance!

Hi,
It’s not clear from the error message.
Maybe, problem with connecting to the artifact repository, so the library containing this class could not be loaded?
Which CUBA version do you use, and what are artifact repositories?
Info is in the build.gradle project file.

Hi Alexander!

Let me attach the build.gradle. does it help?

build.gradle (28.7 KB)

Thanks in advance!

Hi! is there anything I can do to solve this?

Well, having looked into the build.gradle file you’ve provided.
It has many customizations, such as using Lombok, many libraries attached, etc.
It’s hard to say what may be wrong there, there are no obvious problems.