我正在使用 vue2-electron builder 开发一个项目。但是当我运行这段代码时,它没有显示。
错误是;
(node:10500) ExtensionLoadWarning: Warnings loading extension at C:\Users\Dell\AppData\Roaming\project\extensions\nhdogjmejiglipccpnnnanhblpccpnnnanhbledajbpd:
Unrecognized manifest key 'browser_action'.
Unrecognized manifest key 'update_url'.
Permission 'contextMenus' is unknown or URL pattern is malformed.
Cannot load extension with file or directory name _metadata. Filenames starting with "_" are reserved for use by the system.
(Use `electron --trace-warnings ...` to show where the warning was created)
Run Code Online (Sandbox Code Playgroud)
我的background.js是;
'use strict'
import { app, protocol, BrowserWindow } from 'electron'
const path = require('path')
import { createProtocol } from …Run Code Online (Sandbox Code Playgroud) 当我运行 Spring Boot 代码(带有 ElasticSearch)时,出现错误。
我想列出我的elasticsearch车辆文档中所有存在的元素
org.springframework.data.elasticsearch.core.convert.ConversionException: Unable to convert value '2022-01-01' to java.util.Date for property 'created'
Run Code Online (Sandbox Code Playgroud)
但没有用。
我该如何解决这个问题?
以下代码是我的车辆类。
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Document(indexName = Indicies.VEHICLE_INDEX)
public class Vehicle {
@Id
@Field(type = FieldType.Keyword)
private String id;
@Field(type = FieldType.Text)
private String number;
@Field(type = FieldType.Text)
private String name;
@Field(type = FieldType.Date, format = DateFormat.date, pattern = "yyyy-MM-dd'T'HH:mm:ssz")
private Date created;
}
Run Code Online (Sandbox Code Playgroud)
以下接口是我的 VehicleRepository 接口
public interface VehicleRepository extends ElasticsearchRepository<Vehicle, String> {
Page<Vehicle> findAll(); …Run Code Online (Sandbox Code Playgroud) java elasticsearch spring-boot spring-data-elasticsearch spring-repositories