自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(35)
  • 收藏
  • 关注

原创 Mybatis查询时间段数据包含结束时间当天数据

Mybatis查询时间段数据包含结束时间当天数据create_time BETWEEN date_format(#{beginTime},'%y-%m-%d') AND DATE_ADD(date_format(#{beginTime},'%y-%m-%d'), INTERVAL TIMESTAMPDIFF(MONTH,#{beginTime},#{endTime}) +1 MONTH) GROUP BY date_format(create_time,'%y-%m')...

2021-12-22 02:00:00 615

原创 java.net.UnknownHostException: CLOUD-PAYMENT-SERVICE

#配置SpringCloud,只配置配置Eureka,未配置其它,报Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on GET request fo

2021-10-21 17:44:11 2096

原创 idea无法创建SpringCloud---Initialization failed for ‘https://start.spring.io‘ Please check URL, network

idea无法创建SpringCloud---Initialization failed for 'https://start.spring.io'Please check URL, network and proxy settings.Error message:Cannot download 'https://start.spring.io': Request failed with status code 403问题解决方法Please check URL, network and proxy

2021-10-20 15:22:04 275

原创 SpringBoot项目跳转页面时,跳转的界面是返回的路径的字段值,而不是我想要跳转的页面

SpringBoot项目跳转页面时,跳转的界面是返回的路径,而不是我想要跳转的页面原因是Controller类使用了@RestController而不是@Controller,改回@Controller就行了。

2021-04-22 17:59:36 241

原创 Field ‘login_name‘ doesn‘t have a default value

Field ‘login_name’ doesn’t have a default value问题出现的原因:数据库表设计,将字段设计为not null造成的,把not null去掉即可。

2020-11-21 22:39:25 415

原创 [THYMELEAF][http-nio-0.0.0.0-8080-exec-2] Exception processing template “registess“: Error resolving

问题:[THYMELEAF][http-nio-0.0.0.0-8080-exec-2] Exception processing template “registess”: Error resolving template [registess], template might not exist or might not be accessible by any of the configured Template Resolvers解决方案:问题出现在Controller类中,方法没加@Resp

2020-11-18 21:21:12 1489

原创 mybatis动态SQL-if

mybatis动态SQL一、if``insert into 表名 <trim prefix="(" suffix=")" suffixOverrides=","> < if test="实体类中的属性!= null"> 表字段, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=",

2020-11-17 21:06:19 93

原创 Error while Launching activity

问题:解决方法:在电脑控制台或编辑器的控制台输入“adb uninstall packageName”,packageName是你的Android包名

2020-08-20 15:23:41 297

原创 前端微信二维码不显示

在网上找了几个方法,把“localhost”修改为“127.0.0.1”,刚开始有用,后面就失效了,我自己试着把浏览器缓存清除,发现竟然可以了。

2020-07-27 17:46:53 380

原创 Consider defining a bean of type ‘com.alipay.api.AlipayClient‘ in your configuration.

问题:解决:1)、把没用的import删除。2)、注释掉有关的没用的代码。如下图:

2020-07-27 17:43:41 1191 3

转载 Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘POST‘ not

问题:Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method ‘POST’ not supported]在yml中开启配置 spring: mvc: hiddenmethod: filter: enabled: true

2020-07-19 15:58:18 13376

原创 建立可以提供下载的页面

一)、安卓安装包,打包成压缩包,放在和index.html同级目录上,代码如下:<a href="app-release.zip">安卓apk压缩包下载</a>二)、iOS软件,跳转到苹果商店的指定APP页面,代码如下:、<a href="https://itunes.apple.com/cn/app/qq/id444934666?l=en&mt=8">安卓apk压缩包下载</a>,其中id444934666是app提交到苹果商店,苹果

2020-07-08 09:23:09 174

原创 部署springboot项目,前端页面可以显示,但是服务器的图片不能显示,报404

找了几天,在朋友的帮助下发现,是配置文件出了问题,如图:

2020-07-06 09:56:04 1360

原创 在宝塔添加网址

一)、在这里插入图片描述二)、三)、

2020-07-06 09:48:30 158

转载 Execution failed for task :app:processDebugResources.Could not delete path

问题:Execution failed for task ‘:app:processDebugResources’.Could not delete path解决:1 . 你可以尝试删除文件路径下的文件夹2 . 如果你的项目构建采用的JDK是java8,你应该在module下的build.gradle中添加如下代码 android { compileOptions { sourceCompatibility 1.8 targetCompatibili

2020-06-28 11:51:47 590

原创 egret项目部署到服务器,登录部署好的项目,发现页面整体被放大了

原因:部署的egret项目是网页版的话,用的index.html使用template下web中的index.html页面,需要把这个页面的内容改为和template同级的index.html的内容一致,这样就可以了。

2020-06-28 11:40:15 395

原创 org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project

org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project ‘XX_android’.原因有些jar包不能正常下载解决方式第一步:修改项目的build.gradle文件中,修改repositories配置为repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}

2020-06-27 17:34:51 10874

原创 Failed to find Build Tools revision 27.0.3

Failed to find Build Tools revision 27.0.3方法一)、点击图中的蓝色下载,缺少的文件。方法二)、点击File,选择settings,如下图:下载缺少的文件。

2020-06-27 13:08:28 2909 1

原创 Please, set the Gradle JVM option

解决:输入:-Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256m

2020-06-27 11:02:14 1586

原创 Device supports x86, but APK only supports armebi-v7a

问题:Device supports x86, but APK only supports armebi-v7a1.x86,armeabi-v7a,armeabi,x86_64 到底是什么玩意?这四个玩意都是 CPU 架构类型的名称。目前 android 支持的 CPU 架构有有以下几种:CPU架构 描述armeabi 第5代 ARM v5TE,使用软件浮点运算,兼容所有ARM设备,通用性强,速度慢armeabi-v7a 第7代 ARM v7,使用硬件浮点运算,具有高级扩展功能arm64-

2020-06-27 10:38:55 166

转载 idea打包jar包

idea打包jar包转载链接: https://blog.csdn.net/weixin_42089175/article/details/89113271.

2020-06-26 14:09:44 90

原创 Failed to install the following Android SDK packages as some licences have not been accepted.

问题:Failed to install the following Android SDK packages as some licences have not been accepted.platforms;android-26 Android SDK Platform 26build-tools;28.0.3 Android SDK Build-Tools 28.0.3To build this project, accept the SDK license agreements and in

2020-06-25 21:10:08 1274 1

原创 java.lang.NoClassDefFoundError: org/gradle/api/internal/plugins/DefaultConvention

问题:java.lang.NoClassDefFoundError: org/gradle/api/internal/plugins/DefaultConvention at org.jetbrains.plugins.gradle.tooling.builder.ProjectExtensionsDataBuilderImpl.buildAll(ProjectExtensionsDataBuilderImpl.groovy:50) at ............解决:访问 https:

2020-06-25 20:16:19 11153 1

原创 idea配置Android SDK

一)、用360软件下载Android SDK(或其他方式)二)、打开idea,进入如下图:1、当然在这之前想要做Android项目要有jdk和sdk这我就不在说了,默认已经有了哦2、添加Android sdk

2020-06-25 18:21:31 887

转载 IDEA Gradle配置与使用

1.安装Gradle,并添加环境变量。https://blog.csdn.net/qq_34838790/article/details/1069605362.在IDEA中设置Gradle:3.选中项目中的.gradle文件,右键选择"Import Gradle Project"。4.接下来会弹出一个界面,Import Module From Gradle。using explicit module groups ,表示使用确切的模块分组。注意:Create separate module

2020-06-25 18:02:02 8940

转载 Gradle安装

Gradle简介  Gradle是源于Apache Ant和Apache Maven概念的项目自动化构建开源工具,它使用一种基于Groovy的特定领域语言(DSL)来声明项目设置,抛弃了基于XML的各种繁琐配置面向Java应用为主。当前其支持的语言暂时有Java、Groovy、Kotlin和Scala。Gradle是一个基于JVM的构建工具,是一款通用灵活的构建工具,支持maven, Ivy仓库,支持传递性依赖管理,而不需要远程仓库或者是pom.xml和ivy.xml配置文件,基于Groovy,bu.

2020-06-25 17:57:05 1524

原创 Your project path contains non-ASCII characters. This will most likely cause the build to fail......

问题:Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory.See http://b.android.com/95744 for details. This warning can be disabled by adding the line ‘a

2020-06-25 17:37:21 168

原创 Cause: startup failed: initialization script

Cause: startup failed:initialization script ‘E:\ProgrammingSoftware\Gradle\gradle-6.5\init.d\init.gradle’: 3: unexpected char: ‘’ @ line 3, column 32.maven { url ‘file:///E:\ProgrammingSoftware\apache-maven-3.5.4\LocalWarehouse’}^1 error解决:将路径中的“ \

2020-06-25 17:10:18 1578 3

原创 Egret定时器——setTime()问题

问题:这两天测试,发现要点击的图片,按照要求,是必须要等到音乐播放完毕,才可以点击的,但是结果却是在播放第一首音乐时,是有达到要求,从第二首音乐开始,在音乐还没播放完,就可以提前点击图片,找了很久,才发现,原来在触发这个方法的一个函数中,用了定时器,这个定时器的时间设定太短了,造成了这个原因,把时间调大了,就不会了,但还是有些问题,就是还会显示点击效果,但无法在音乐听完之前点击。今天先记住这个问题,以后有时间了,在解决它。...

2020-06-24 20:30:59 556

原创 1064 - You have an error in your SQL syntax: check the manual that corresponds to your MySQL server

update edu_history SET user_nick = ‘test’, chapter = 1, section = 1, subject_number = 1, cost_time = 20,

2020-06-21 19:12:19 233

转载 Application failed to start due to an exception org.springframework.boot.web.embedded.tomcat.Connec

Application failed to start due to an exceptionorg.springframework.boot.web.embedded.tomcat.ConnectorStartFailedException: Connector configured to listen on port 80 failed to start原因:80端口被占。解决:结束掉占用端口的程序1.打开cmd 在CMD中输入命令:netstat -ano(注:以管理员的身份打开cmd)2

2020-06-21 19:08:56 5470

转载 白鹭跨域问题

服务器允许跨域这个可以根据自己服务器的开发环境网上搜一个WebGL很常见的跨域问题: Uncaught SecurityError: Failed to execute ‘texImage2D’ on ‘WebGLRenderingContext’: The cross-origin image at http://www.expamplesrc.expampleExtension may not be loaded.添加 egret.ImageLoader.crossOrigin = "anony

2020-06-18 19:22:11 390

转载 DOMException: Failed to execute ‘texImage2D’ on ‘WebGLRenderingContext’

Uncaught DOMException: Failed to execute ‘texImage2D’ on ‘WebGLRenderingContext’: The image element contains cross-origin data, and may not be loaded.解决方法1:将图片转换为Base64编码,直接有效。可通过以下地址进行在线转换。http://www.jq22.com/demo/baseToImage201807250139/可直接将您代码调用图片的地

2020-06-18 19:13:37 4396

转载 Egret failed to execute git 解决方法

failed to execute git 解决方法转载 链接: [https://bbs.egret.com/thread-51856-1-1.html].解决wing 左上角 文件->首选项->工作区设置 搜索 git.enabled 设置为false,这样设置不影响其他项目的git提交,设置成功后,这个地方会显示 git设置被禁用,重启或关闭程序再开。...

2020-06-11 08:22:42 4654

原创 虚拟机安装VMware Tools成功后,依旧无法自适应屏幕大小

虚拟机安装VMware Tools成功后,依旧无法自适应屏幕大小解决解决图片:

2020-06-10 16:39:31 4057 3

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除