ICode9

精准搜索请尝试: 精确搜索
  • When allowCredentials is true, allowedOrigins cannot contain the special value “*“ since that cannot2021-09-14 18:03:00

    springboot + html 项目 后端启动项目之后,前端页面访问,前端页面500,后端报错,核心报错内容如下: 2021-09-14 17:48:49.275 INFO 14196 --- [nio-9000-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2021-0

  • smart-doc 生成接口文档2021-08-06 11:01:17

      使用smart-doc 生成接口文档   方式一  插件方式    springboot 启动类 运行生成接口文档 1.pom文件 导入插件 <!--smart-doc 生成接口文档--> <plugin> <groupId>com.github.shalousun</groupId> <artifactId>smart-doc-ma

  • 2021-08-032021-08-03 19:58:16

    /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You

  • 2021-08-032021-08-03 09:32:27

    @Git查询一定时间范围团队代码提交日志 使用git log命令 git log --since='2021-05-21' --until='2021-05-28' --format='%aN' | sort -u | while read name; do echo -en "$name,"; git log --since='2021-05-21' --until='2021-05-28�

  • NG0303: Can‘t bind to ‘ngForOf‘ since it isn‘t a known property of ‘h2‘.2021-07-31 11:33:50

    从后端获取的数据在用 <h2 *ngFor="let item of list;let key=index"> 这是detail{{list}} </h2> 报了下面的错误: NG0303: Can't bind to 'ngForOf' since it isn't a known property of 'h2'. 原因:你获取到的list用不到ngFor,直接用就行,比如:list.nam

  • 配置树莓派中文环境 及解决 no write since last change2021-07-22 20:31:21

    树莓派默认英文环境,而且系统里是没有安装中文字体库的,所以无法正常显示中文字符, 因此需要安装中文字库并将默认语言环境切换成中文。当然,由于Raspbian是基于Debian开发的,因此此方法其实也是Debian系统的配置方法。 测试环境 硬件:树莓派3B/3B+系统:Raspberry Debian 9 / Debian 1

  • 动态范围的一些思考2021-07-17 11:32:03

        相机binning后::Although resolution obviously decreases, there are a number of other features improving. For example, with 2x2 binning, resolution is halved, but sensitivity and dynamic range are increased by a factor of 4 (since the capacities of each po

  • Avoid mutating a prop directly since the value will be overwritten whenever2021-07-15 15:00:50

              <li v-for="item in copyOptionList" :key="item.lngpurchasemodeid" value="item.lngpurchasemodeid"></li> 不要改变props里父级传过来的值,拷贝一份随便改  

  • javaDoc生成文档2021-07-09 22:00:58

    javaDoc JavaDoc命令是生成自己APL文档的 参数信息 @author 作者名 @version 版本号 @since 指明需要最早使用的jdk版本 @param 参数名 @return 返回值情况 @throws 异常抛出情况 加在类上面,就是类的注释 ;加在方法里面,就是方法注释 例如: /**类的注释 * @author wangkang

  • jQuery基础详解汇总(附源码)2021-07-02 14:29:29

    本文章根据菜鸟教程官网编写:有利于小白上手体验。 index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="css/index.css"&

  • Qt:QWebChannel2021-06-29 19:02:11

    说明 将QObject展示给远方的HTML客户。 模块和加载项 Header #include<QWebChannel> qmake QT += webchannel Since Qt 5.4 Inherits QObject 属性 bool blockUpdates   构造 QWebChannel(QObject *parent = Q_NULLPTR) 方法  

  • “Usage of API documented as @since 1.8+”报错的解决办法2021-06-11 15:52:37

    原因:无法引入类,版本问题。 解决办法如下: 方法一:修改Project Structure的Language level 方法二:直接在pom.xml文件添加插件 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactI

  • Redis实战(四):redis的消息订阅、pipeline、事务、modules、布隆过滤器、缓存LRU2021-05-27 22:59:16

    啤酒理论 Buffer机制,减少没必要的来回调用 前置知识 只要和redis建立了连接,发送字符串,就能交互 管道 发布 / 订阅 help @pubsub 发送者 订阅者 PSUBSCRIBE pattern [pattern ...] summary: Listen for messages published to channels matching the given patterns

  • 浏览器(Cache)的缓存逻辑(HTTP条件请求)2021-05-20 14:34:54

    浏览器(Cache)的缓存逻辑(HTTP条件请求) 1. 浏览器缓存 一般来说,一个GET请求在目标资源存在的情况下会返回一个状态码为“200 OK”的响应,目标资源的内容将直接存放在响应报文的主体部分。如果资源的内容不会轻易改变,那么我们希望客户端(如浏览器)在本地缓存获取的资源。对于针对同一资

  • Usage of API documented as @since 1.8+ less... (Ctrl+F1) Inspection info: This inspection finds all2021-05-19 13:01:45

    1.不知道小伙伴们在日常开发过程中使用stream流的时候,有没有遇到这样的情况, 发现stream()方法是红色的 , 这是编译工具提醒的, 估计是出现了什么问题, 如下图所示: 2.当我们把鼠标移到报红地方的时候 ,编译工具会给我们提示如下信息. 一长串的英文字符, 所以我们看可以先来看看

  • Go 计算程序运行时间2021-05-11 12:36:53

    转: Go 计算程序运行时间 1.计算代码块的运行时间start := time.Now() //some func or operation cost := time.Since(start) fmt.Printf("cost=[%s]",cost)其中time.Since()函数返回字符串类型,例如1h2m3s等,可能还有us等2.计算函数的运行时间func compute() { start := time.No

  • 快速学习-Smart-Doc Project 基于JAVA-REST和dubbo的API接口文档2021-05-07 20:01:24

    简介 GitHub地址 https://github.com/smart-doc-group/smart-doc/blob/master/README_CN.md smart-doc是一款同时支持JAVA REST API和Apache Dubbo RPC接口文档生成的工具,smart-doc在业内率先提出基于JAVA泛型定义推导的理念, 完全基于接口源码来分析生成接口文档,不采用任何

  • journalctl 日志查看方法2021-05-06 16:57:14

    https://blog.csdn.net/john1337/article/details/106716318/ 1  概述 日志管理工具journalctl是centos7上专有的日志管理工具,该工具是从message这个文件里读取信息。Systemd统一管理所有Unit的启动日志。带来的好处就是,可以只用journalctl一个命令,查看所有日志(内核日志和应用

  • vue项目Avoid mutating a prop directly since the value will be overwritten ....... itemObject 子组件不能直接改2021-04-26 11:32:30

    这个错误的本质原因就是:子组件不能直接修改父组件的值,子组件只能把值传递给父组件,修改值的权利只有父组件自己有,保证了数据修改的唯一性           这样就会出问题,修改后:  

  • springboot集成smartDoc导出接口文档到torna2021-04-15 16:06:10

    springboot集成smartDoc导出接口文档到torna smart-docpom.xml添加依赖创建smart-doc.json创建导出文档文件夹导出接口文档到html smart-doc 点击跳转到官方文档 pom.xml添加依赖 <plugin> <groupId>com.github.shalousun</groupId> <artifactId>smart-doc-mave

  • 2021-03-202021-03-20 19:00:47

    Redis 简介和基本数据类型 简介 Redis 是一个开源(BSD许可)的,内存中的数据结构存储系统,它可以用作数据库、缓存和消息中间件。它支持多种类型的数据结构:字符串(strings), 散列(hashes), 列表(lists), 集合(sets), 有序集合(sorted sets) 与范围查询,位图( bitmaps) hyperloglogs 和 地理空间(geo

  • 前端面经 http缓存机制:强缓存(expires和cache-control)、协商缓存(Etag/If-None-Match和Last-Modified/If-Modified-Since)2021-03-10 11:02:08

    关于强缓存和协商缓存 为什么需要缓存机制缓存的过程第一次缓存再次请求 强缓存(Expires/Cache-Control)ExpiresCache-Control 协商缓存(Etag/If-None-Match和Last-Modified/If-Modified-Since)Last-Modified/If-Modified-SinceEtag/If-None-Match 为什么需要缓存机制 缓存

  • Javadoc2021-02-27 15:30:38

    JavaDoc javadoc命令是用来生成自己API文档的 参数信息: @author 作者名 @version 版本号 @since 指明需要最早使用的jdk版本 @param 参数名 @return 返回值情况 @throws 异常抛出情况

  • ansoft:Com Engine non-responsive since2021-02-27 09:33:19

    ansoft:Com Engine non-responsive since 17:23:04, October 18, 2015.If persisting for long, manually kill the com engine process and restart analysis. Retrying… ansoft仿真出现这种情况时,进度条为0且不变,网上也试了好多方法都不行,最后因为软件死机关闭再打开解决

  • Go语言计算函数执行时间2021-02-24 11:35:02

    在Go语言中我们可以使用 time 包中的 Since() 函数来获取函数的运行时间,Go语言官方文档中对 Since() 函数的介绍是这样的。 func Since(t Time) Duration Since() 函数返回从 t 到现在经过的时间,等价于time.Now().Sub(t)。 【示例】使用 Since() 函数获取函数的运行时间。 p

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有