- 博客(182)
- 资源 (22)
- 问答 (3)
- 收藏
- 关注
原创 Android项目运行出错Execution failed for task ‘:app:checkDebugAarMetadata‘. >Could not resolve all dependen
看见https://docs.gradle.org/8.0.2/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories详细信息。无法解析配置“:app:debugRuntimeClasspath”的所有依赖项。任务“:app:checkDebugAarMetadata”的执行失败。通过将构建配置为在项目存储库上失败,您可以了解如何声明项目存储库。项目声明存储库,实际上忽略了您在设置中声明的存储库。
2024-01-11 11:01:40
1922
原创 Android Studio出现闪退
在文件项目的(gradle.properties(Project))加上android.suppressUnsupportedCompileSdk=34。
2024-01-11 10:18:31
2225
原创 Android Studio新版本运行旧项目闪退不报错AGPBI: {“kind“:“warning“,“text“:“Using flatDir should be avoided because
Studio Studio旧项目修改依赖写法
2024-01-11 10:12:15
560
原创 Android上传文件报错 java.net.SocketTimeoutException: timeout
java.net.SocketTimeoutException: timeout修改为 OkHttpClient client = new OkHttpClient().newBuilder().connectTimeout(60000, TimeUnit.MILLISECONDS) .readTimeout(60000,TimeUnit.MILLISECONDS).build();
2023-11-06 16:59:22
420
原创 MySql.Data.MySqlClient.MySqlException (0x80004005): Packets larger than max_allowed_packet are not
设置数据库提交数据最大包大小:show global variables like 'max_allowed_packet';set global max_allowed_packet = 9*1024*1024*10;
2023-09-01 16:12:10
383
原创 idea报错Unable to import maven project
idea报错Unable to import maven project解决方法
2023-06-15 10:32:54
222
原创 SpringBoot使用javax.websocket加上注册 WebSocket 端点 将WebSocket端点注册到Spring Boot应用程序中。您可以通过@Configuration配置类
注册 WebSocket 端点将WebSocket端点注册到Spring Boot应用程序中。您可以通过@Configuration配置类注册端点,也可以通过@ServerEndpoint注释在端点类上直接注册端点。以下是两种方式的示例代码:
2023-06-05 16:58:29
300
原创 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
解决mySQL WorkBench不能删除数据问题
2022-08-15 10:04:20
310
原创 Caused by: org.apache.ibatis.binding.BindingException: Parameter ‘assetsNo‘ not found. Available par
解决:需要使用(@Param(“assets”)调用需要使用assets.id数据层代码:在这里插入代码片 /** * 分页查询物资信息 * @return List */ public List<Assets> queryAssetsPage(@Param("assets")Assets assets,@Param("startIndex") int startIndex,@Param("pageSize") int pageSize,
2022-05-23 16:58:15
92
原创 打包war访问Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing
报错一:Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Mon May 16 11:21:31 CST 2022There was an unexpected error (type=Method Not Allowed, status=405).报错二:java.net.SocketTimeoutException: fa
2022-05-16 14:13:32
516
原创 Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
Error querying database. Cause: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failureThe last packet successfully received from the server was 14,465,416 milliseconds ago. The last packet sent successfully to the server was 14
2022-05-12 15:38:58
976
原创 MyBatis多参数Caused by: org.apache.ibatis.binding.BindingException: Parameter ‘loginNo‘ not found.
Caused by: org.apache.ibatis.binding.BindingException: Parameter ‘loginNo’ not found. Available parameters are [arg1, arg0, param1, param2]修改前:在这里插入代码片 /** * 通过用户登录编号和密码查询用户信息 * @param loginNo * @param password * @return */
2022-05-08 15:49:03
409
原创 Caused by: com.android.builder.merge.DuplicateRelativeFileException: More than one file was found
删除配置implementation ‘androidx.constraintlayout:constraintlayout:2.0.4’implementation ‘androidx.fragment:fragment:1.0.0’implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.7.1’在这里插入代码片 implementation 'androidx.fragment:fragment:1.0.0'
2022-04-29 16:38:42
2910
原创 前端Ajax请求:{“readyState“:0,“responseText“:““,“status“:0,“statusText“:“error“}
请求代码:在这里插入代码片$.ajax({ url:"http://127.0.0.1:8080/demo/login", data:{'username':'张三','password':JSON.stringify(data.field)}, type:"get", async:'true', //jsonp:"callback",
2022-04-25 11:53:58
1143
原创 Unable to instantiate appComponentFactory
android报错:E/LoadedApk: Unable to instantiate appComponentFactoryjava.lang.ClassNotFoundException: Didn’t find class “android.support.v4.app.CoreComponentFactory” on path:解决方法一:去掉两行代码:在这里插入代码片 android:appComponentFactory="android.support.v4.app.Core
2022-03-21 16:55:35
11869
1
原创 Android报错: org.ksoap2.SoapFault cannot be cast to org.ksoap2.serialization.SoapObject
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #2Process: com.uhf200.demo, PID: 7351java.lang.RuntimeException: An error occurred while executing doInBackground()at android.os.AsyncTask3.done(AsyncTask.java:318)atjava.util.concurrent.FutureTask.finishComp
2021-12-17 15:31:19
2111
原创 Android解决This project uses AndroidX dependencies---The following AndroidX dependencies are detected.
开始报错:This project uses AndroidX dependencies, but the ‘android.useAndroidX’ property is not enabled. Set this property to true in the gradle.properties file and retry.The following AndroidX dependencies are detected: androidx.fragment:fragment:1.2.5, and
2021-12-16 17:06:25
3135
原创 Android中的Android Gradle 插件版本说明
官网:https://developer.android.google.cn/studio/releases/gradle-plugin?hl=zh_cn
2021-12-15 16:47:20
1188
原创 android studio运行显示app红叉
我的android项目:The specified Android SDK Build Tools version (26.0.1) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.2.Minimum supported Gradle version is 5.4.1. Current version is 4.6.需要修改 buildToolsVersion
2021-12-15 15:58:50
1265
原创 C#记录正则表达式
```csharp在这里插入代码片```//C#点正则表达式//1到100正则表达式this.panel([1-9][0-9]{0,1}|100)._setRoundRadius = 18;//1到1000正则表达式this.panel([1-9][0-9]{0,2}|1000)._setRoundRadius = 18;[1-9][0-9]{0,2}|1000this.panel([1-9][0-9]{0,1}|100).ControlState = CCIMS.ControlSta.
2021-12-08 16:04:03
114
原创 C#实现FTP文件上传和删除
```csharp在这里插入代码片```在电脑中设置tfp网站,基本、所有用户, //基本设置 private static string ftppath = @"ftp://" + "192.168.1.62" + "/"; // private static string ftppath = @"ftp://" + "192.168.1.108" + "/"; private static string username = ""; .
2021-12-08 15:06:49
316
原创 正则表达式1到100
//1到100正则表达式this.panel([1-9][0-9]{0,1}|100)._setRoundRadius = 18;//1到1000正则表达式this.panel([1-9][0-9]{0,2}|1000)._setRoundRadius = 18;
2021-09-03 17:06:24
4557
原创 C#实现打开窗体B相对窗体A位置居中
打开窗体B代码: private void Button_AddCard_Click(object sender, EventArgs e) { Form_AddDevice form_AddDevice = new Form_AddDevice("Card"); Point point = this.Location; //窗体A的长度this.Width减去窗体B的长度465 int x
2021-08-13 10:25:39
158
原创 C#实现简单的加密防止拷贝复制软件
主页面代码using Microsoft.Win32;using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;using System.Management;using System.Net.NetworkInformation;using Syst
2021-08-12 10:08:26
1510
原创 C#实现播放自定义的文本声音(文字转语音)
private void Button_Test2_Click(object sender, EventArgs e) { //引入using System.Speech.Synthesis; SpeechSynthesizer voice = new SpeechSynthesizer(); //创建语音实例 voice.Rate = 0; //设置语速,[-10,10] voice.V..
2021-08-05 17:08:39
804
原创 使用HBuilder创建第一个Vue项目增加一个登录的Vue
在Vue项目下的components文件夹下新建一个Login.vue文件,Login.vue代码://在这里插入代码片<template> <div> Login中国 </div></template><script> export default{ }</script><style></style>App.vue代码://在这里插入代码片<templ
2021-07-30 15:31:46
826
C#窗体界面皮肤优化.zip
2020-03-11
UML类图破解.zip
2019-08-16
mysql-connector-java-5.1.48.zip
2019-08-02
SQLite数据库依赖
2019-03-12
未能加载文件或程序集“CCIMS.XmlSerializers”
2019-03-20
本人装的是VS2017,调试时出错_DataCtrl.cs”查找源。
2019-03-20
TA创建的收藏夹 TA关注的收藏夹
TA关注的人