组件项目引入官方Notifications组件并卸载后出现问题

我自己写了一个Jmix组件项目,在项目中添加了官方的Notifications组件,但是在卸载Notifications组件后,我将组件发布到本地publishToMavenLocal,出现下面的错误:
image

并且偶尔在Configuration.java的JmixModule注解中无法自动删除NotificationsFlowuiConfiguration.class,如下图所示:
image

也就是说在组件项目中添加了Notifications后,再卸载时,卸载不干净,是吧?

对,主要是上面那个错误,发不到本地,编译的时候报错,下面那个偶尔出现

我刚试了试,没重现,你清一下缓存试试?红框的两个可以按需选择
image

卸载Notifications、清理缓存,发布到本地的时候依旧出现问题,我将控制台报错信息贴在下面:

下午6:19:35: 正在执行 'publishToMavenLocal'…

Starting Gradle Daemon...
Gradle Daemon started in 504 ms

> Task :项目名:compileJava
Enhancing entities in project ':项目名' for source set 'main'
Project entities:
JPA: [info.tianlan.iom.eng.re.entity.WeightSet, info.tianlan.iom.eng.re.entity.QualityData, info.tianlan.iom.eng.re.entity.ScoreSet];
DTO: [info.tianlan.iom.eng.re.entity.RepEval];
Project converters: [].

> Task :项目名:compileJava FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
1 actionable task: 1 executed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':项目名:compileJava'.
> javassist.NotFoundException: io.jmix.notifications.entity.InAppNotification

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 5s
下午6:19:42: 执行完成 'publishToMavenLocal'。

你在项目里搜一下,哪里用到了 InAppNotification 吗?

compileJava 出错,在命令行运行 gradle compileJava 试试看有更多的信息输出吗