当前位置: 首页 > news >正文

做笑话网站wordpress文字置顶插件

做笑话网站,wordpress文字置顶插件,如何做外围网站的代理,网站建设设计服务Spring 源码调试问题 文章目录 Spring 源码调试问题一、问题描述二、解决方案 一、问题描述 错误#xff1a;springframework\buildSrc\src\main\java\org\springframework\build\CheckstyleConventions.java:68: 错误: 找不到符号 ListString buildFolders List.of…Spring 源码调试问题 文章目录 Spring 源码调试问题一、问题描述二、解决方案 一、问题描述 错误springframework\buildSrc\src\main\java\org\springframework\build\CheckstyleConventions.java:68: 错误: 找不到符号 ListString buildFolders List.of(bin, build, out); ^ 符号方法 of(java.lang.String,java.lang.String,java.lang.String) 位置接口 java.util.List 源码错误文件如下 /** Copyright 2002-2024 the original author or authors.** Licensed under the Apache License, Version 2.0 (the License);* you may not use this file except in compliance with the License.* You may obtain a copy of the License at** https://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an AS IS BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language governing permissions and* limitations under the License.*/package org.springframework.build;import java.io.File; import java.nio.file.Path; import java.util.List;import io.spring.javaformat.gradle.SpringJavaFormatPlugin; import io.spring.nohttp.gradle.NoHttpExtension; import io.spring.nohttp.gradle.NoHttpPlugin; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.artifacts.DependencySet; import org.gradle.api.plugins.JavaBasePlugin; import org.gradle.api.plugins.quality.Checkstyle; import org.gradle.api.plugins.quality.CheckstyleExtension; import org.gradle.api.plugins.quality.CheckstylePlugin;/*** {link Plugin} that applies conventions for checkstyle.** author Brian Clozel*/ public class CheckstyleConventions {/*** Applies the Spring Java Format and Checkstyle plugins with the project conventions.* param project the current project*/public void apply(Project project) {project.getPlugins().withType(JavaBasePlugin.class, (java) - {if (project.getRootProject() project) {configureNoHttpPlugin(project);}project.getPlugins().apply(CheckstylePlugin.class);project.getTasks().withType(Checkstyle.class).forEach(checkstyle - checkstyle.getMaxHeapSize().set(1g));CheckstyleExtension checkstyle project.getExtensions().getByType(CheckstyleExtension.class);checkstyle.setToolVersion(10.14.2);checkstyle.getConfigDirectory().set(project.getRootProject().file(src/checkstyle));String version SpringJavaFormatPlugin.class.getPackage().getImplementationVersion();DependencySet checkstyleDependencies project.getConfigurations().getByName(checkstyle).getDependencies();checkstyleDependencies.add(project.getDependencies().create(io.spring.javaformat:spring-javaformat-checkstyle: version));});}private static void configureNoHttpPlugin(Project project) {project.getPlugins().apply(NoHttpPlugin.class);NoHttpExtension noHttp project.getExtensions().getByType(NoHttpExtension.class);noHttp.setAllowlistFile(project.file(src/nohttp/allowlist.lines));noHttp.getSource().exclude(**/test-output/**, **/.settings/**,**/.classpath, **/.project, **/.gradle/**);ListString buildFolders List.of(bin, build, out); // 错误位置project.allprojects(subproject - {Path rootPath project.getRootDir().toPath();Path projectPath rootPath.relativize(subproject.getProjectDir().toPath());for (String buildFolder : buildFolders) {Path innerBuildDir projectPath.resolve(buildFolder);noHttp.getSource().exclude(innerBuildDir File.separator **);}});}} 二、解决方案 Gradle JVM 版本过低需要在 Java 8 版本以上建议 Java 17因为官方 Spring 版本用的就是 Java 17 将 Settings 里面的 gradle JVM 配置设置为 Java 17 即可
http://www.w-s-a.com/news/231222/

相关文章:

  • 中卫网站设计做自己的卡盟网站
  • 广州网站推广自助做网站人家直接百度能搜到的
  • 电子商务网站建设目标及利益分析安徽建设厅网站施
  • 制作网站策划书网站建设公司的性质
  • 哪个网站可以做免费宣传简单的网页设计网站
  • 福州专业网站制作公司金湖建设局网站
  • 好的移动端网站模板下载兰州线上广告推广
  • 宁波高端建站深圳品牌营销策划机构
  • 权威网站优化价格建设厅科技中心网站首页
  • 保定模板建站软件腾讯云做淘客网站
  • 单位建设一个网站的费用正规刷手机单做任务网站
  • 北京定制网站价格开网店怎么卖到外国
  • 做网站 后端是谁来做的工程建设指挥部网站
  • wordpress建站 云打印昆明 网站设计
  • 太原网站建设设计网站建设策划书(建设前的市场分析)
  • 哪里有制作网站电商新手入门知识
  • 制作网站的后台文昌网站建设 myvodo
  • 网站 购买移动网站制作
  • 南京网站网站建设学校英山做网站多少钱
  • 珠海网站建设网如何注册公司公众号
  • 手机网站页面制作网站怎么做快照
  • asp网站怎么仿站推广软件下载平台
  • 电子商务网站建设期末试题08答案互联网怎么做
  • 规范门户网站的建设和管理办法微信网站开发公司电话
  • 免费行情网站凡客的官网
  • 做网站运营的女生多吗海淀企业网站建设
  • 网站运行环境配置网站建设个一般需要花费多少钱
  • 广西平台网站建设报价wordpress 免费 企业 主题
  • 四川省建设厅职称查询网站辽宁省住房和城乡建设部网站
  • 公司网站后台登陆网站放到云服务器上怎么做