我无法构建我的 Liferay Spring MVC Portlet 项目。
控制台中的完整错误报告:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project 'HelloWorld'.
Dependencies can not be declared against the `compileClasspath` configuration.
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
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.
See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings
CONFIGURE FAILED in 939ms
我在 Windows 11 上安装了 OpenJDK 11