INFO] Finished at: 2025-04-17T10:11:20+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project tzmap-common: Fatal error compiling: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6e7f29d5) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6e7f29d5 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] 打包报错

时间: 2025-05-20 22:33:10 浏览: 13
### 问题分析 `java.lang.IllegalAccessError` 错误通常发生在模块化环境中,当某个类尝试访问另一个受限的内部API时会抛出此异常。具体到当前场景中,Lombok插件中的 `lombok.javac.apt.LombokProcessor` 类试图访问 JDK 编译器模块 (`jdk.compiler`) 中未导出的包 `com.sun.tools.javac.processing.JavacProcessingEnvironment`。 以下是可能的原因以及解决方案: --- ### 原因解析 1. **JDK 版本变化** 自 Java 9 起引入了模块化系统 (JPMS),许多以前公开的内部 API(如 `com.sun.*`)被限制访问[^1]。如果使用的 Lombok 或其他工具仍然依赖这些内部 API,则可能会引发此类错误。 2. **Maven Compiler Plugin 配置不兼容** Maven 的 `maven-compiler-plugin` 默认配置可能无法正确处理某些复杂的编译环境,尤其是涉及注解处理器的情况[^2]。 3. **Lombok 版本过旧或不适配** 如果项目的 Lombok 版本较老或者与所使用的 JDK 不匹配,也可能导致类似的错误。例如,在高版本 JDK 上运行低版本 Lombok 可能会出现这种问题[^3]。 --- ### 解决方案 #### 方法一:升级 Lombok 至最新稳定版 确保项目中使用的 Lombok 是最新的稳定版本。根据已有经验,推荐使用至少 `1.18.24` 或更高版本[^3]。修改 `pom.xml` 文件如下: ```xml <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.24</version> <scope>provided</scope> </dependency> ``` #### 方法二:调整 Maven Compiler 插件配置 通过显式指定目标 JDK 和源码版本来适配不同的 JDK 环境。更新 `pom.xml` 中的 `maven-compiler-plugin` 配置如下: ```xml <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <source>17</source> <target>17</target> <!-- 添加以下参数以支持模块化 --> <fork>true</fork> <compilerArgs> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg> <arg>--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg> </compilerArgs> </configuration> </plugin> </plugins> </build> ``` 以上配置允许 Maven 使用额外的模块导出选项,从而绕过默认的安全限制[^1]。 #### 方法三:切换至 ECJ 编译器 作为替代方案,可以考虑将 Maven 的编译器替换为 Eclipse JDT 编译器 (ECJ),它完全独立于 JDK 并不受其模块化的限制。在 `pom.xml` 中添加以下依赖项即可启用 ECJ: ```xml <properties> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <maven.compiler.release>17</maven.compiler.release> </properties> <dependencies> <dependency> <groupId>org.eclipse.jdt.core.compiler</groupId> <artifactId>ecj</artifactId> <version>3.35.0</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <forceJavacCompilerUse>false</forceJavacCompilerUse> <compilerId>eclipse</compilerId> </configuration> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-compiler-eclipse</artifactId> <version>2.8.8</version> </dependency> </dependencies> </plugin> </plugins> </build> ``` --- ### 总结 上述方法分别针对不同层面提供了修复策略。优先建议升级 Lombok 到最新版本并适当调整 Maven Compiler Plugin 的配置;若仍存在问题,可进一步尝试切换至 ECJ 编译器以规避 JDK 模块化带来的限制。 ---
阅读全文

相关推荐

[{"name":"电动车","uuid":"6481c39a-cf81-4dc7-adf5-768600b79ca2","task_type":"others","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-22T04:12:17.558902Z","end_at":"2025-04-22T04:15:12.558902Z","run_at":"2025-04-22T04:12:18.082991Z","completed_at":"2025-04-22T04:14:40.463417Z","wayline_uuid":"ca82f9aa-d84d-4442-8c04-6b2624ed8785","folder_id":103208520,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"周公宅水库Dock3_试飞_","uuid":"958247fa-79d1-4ff7-a4f3-6c166cbba353","task_type":"others","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-22T04:15:36.727596Z","end_at":"2025-04-22T04:18:31.727596Z","run_at":"2025-04-22T04:15:37.257142Z","completed_at":"2025-04-22T04:17:17.895556Z","wayline_uuid":"d8fa9e84-372e-4b15-9945-f63dcbb2bc06","folder_id":103209719,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"测试","uuid":"5839368d-49a5-4bee-bcb0-f3112e34488a","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-28T03:00:30.774486Z","end_at":"2025-04-28T03:21:25.774486Z","run_at":"2025-04-28T03:00:31.54974Z","completed_at":"2025-04-28T03:10:05.496577Z","wayline_uuid":"1945caf2-29b2-4412-8873-9658daf64a72","folder_id":105310359,"current_waypoint_index":6,"total_waypoints":14,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322283,"message":"","happen_at":"2025-04-28T03:10:05.207Z","sn":"8UUXN4300A04KQ"}]},{"name":"测试","uuid":"34d200ce-b5b7-4189-891c-d37deaede4e1","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-28T06:17:37.606129Z","end_at":"2025-04-28T06:23:11.606129Z","run_at":"2025-04-28T06:17:38.314235Z","completed_at":"2025-04-28T06:22:43.526046Z","wayline_uuid":"e161f37a-b375-46b8-8f8e-6cce9c6596b7","folder_id":105438837,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"西线测试","uuid":"fb3ebf52-90ad-4502-8a0a-85f4ae69703b","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-28T09:07:11.688223Z","end_at":"2025-04-28T09:31:46.688223Z","run_at":"2025-04-28T09:07:12.315805Z","completed_at":"2025-04-28T10:20:38.683861Z","wayline_uuid":"49aee269-bf04-453d-a442-db025e788175","folder_id":105551695,"current_waypoint_index":27,"total_waypoints":37,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":514109,"message":"","happen_at":"2025-04-28T10:20:36.579Z","sn":"8UUXN4300A04KQ"}]},{"name":"新建计划","uuid":"2c884d02-24b0-4707-865e-6f958c79d40b","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-04-30T02:54:32.978043Z","end_at":"2025-04-30T03:08:45.978043Z","run_at":"2025-04-30T02:54:33.677278Z","completed_at":"2025-04-30T03:05:53.118946Z","wayline_uuid":"4cb4e902-719e-4d0a-9ce3-a7e39c500e12","folder_id":106088697,"current_waypoint_index":41,"total_waypoints":90,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-04-30T03:05:52.814Z","sn":"8UUXN4300A04KQ"}]},{"name":"西线试飞","uuid":"6f6d04df-35cf-4bf7-8069-f2cf8dc5f590","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T01:49:52.991036Z","end_at":"2025-05-06T02:14:53.991036Z","run_at":"2025-05-06T01:49:53.731424Z","completed_at":"2025-05-06T02:06:06.734273Z","wayline_uuid":"ccccd12a-f268-45a9-8e15-1b244a50570a","folder_id":107360803,"current_waypoint_index":21,"total_waypoints":37,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-05-06T02:06:06.307Z","sn":"8UUXN4300A04KQ"}]},{"name":"西线试飞","uuid":"bb4f5c65-8ee6-49f1-b612-6af480c9012d","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T02:25:39.852123Z","end_at":"2025-05-06T02:50:53.852124Z","run_at":"2025-05-06T02:25:40.465033Z","completed_at":"2025-05-06T02:52:34.298717Z","wayline_uuid":"a1a1a6fe-4fae-4cc7-b7fd-1b2cb73db72f","folder_id":107383238,"current_waypoint_index":37,"total_waypoints":37,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划1","uuid":"527df17d-7318-4077-ac05-c5cacd6bdb23","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T05:41:58.61404Z","end_at":"2025-05-06T05:48:10.61404Z","run_at":"2025-05-06T05:41:59.366263Z","completed_at":"2025-05-06T05:47:57.534047Z","wayline_uuid":"918bd2c5-267d-4799-b74c-f0b670a6da47","folder_id":107485453,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划2","uuid":"f1056331-2df3-4298-8590-ce84fd7ad1f1","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T05:53:58.913798Z","end_at":"2025-05-06T05:59:47.913798Z","run_at":"2025-05-06T05:53:59.598749Z","completed_at":"2025-05-06T05:59:07.58325Z","wayline_uuid":"2048a83a-330a-4c64-9a28-67f88ed65f12","folder_id":107491697,"current_waypoint_index":3,"total_waypoints":3,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划3","uuid":"f3549dc0-e58e-4b19-963d-fc488676f937","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T07:04:29.910609Z","end_at":"2025-05-06T07:25:11.91061Z","run_at":"2025-05-06T07:04:30.727084Z","completed_at":"2025-05-06T07:10:47.84156Z","wayline_uuid":"4dd1bc86-9e4a-4181-a63a-688f4c34d05f","folder_id":107524087,"current_waypoint_index":0,"total_waypoints":38,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-05-06T07:10:47.333Z","sn":"8UUXN4300A04KQ"}]},{"name":"新建计划4","uuid":"fd46c482-e465-403b-a3af-726144859cb1","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-06T07:33:39.677309Z","end_at":"2025-05-06T07:54:21.677309Z","run_at":"2025-05-06T07:33:40.183554Z","completed_at":"2025-05-06T07:53:49.815933Z","wayline_uuid":"66bcfb4a-8e83-4286-9f6c-df567e8b30ca","folder_id":107543205,"current_waypoint_index":38,"total_waypoints":38,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"倾斜摄影","uuid":"4ddbd645-18f5-42b9-8503-d71f6753a6f7","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T05:53:15.140342Z","end_at":"2025-05-07T06:07:14.140342Z","run_at":"2025-05-07T05:53:15.859281Z","completed_at":"2025-05-07T06:12:49.672755Z","wayline_uuid":"df1d2b60-9035-41b3-bc67-44a97479a609","folder_id":107959826,"current_waypoint_index":89,"total_waypoints":89,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划5","uuid":"6468ec0b-3711-4b41-be09-d35143d63801","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T07:03:39.474944Z","end_at":"2025-05-07T07:19:01.474944Z","run_at":"2025-05-07T07:03:40.228491Z","completed_at":"2025-05-07T07:18:50.284827Z","wayline_uuid":"00f2aa27-6932-42df-855c-59f4d7948f59","folder_id":107991625,"current_waypoint_index":23,"total_waypoints":23,"media_upload_status":"to_upload","resumable_status":"auto","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划6","uuid":"335bf28a-91b4-4f83-b396-4f045f062ab1","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T07:19:44.590593Z","end_at":"2025-05-07T07:32:02.590594Z","run_at":"2025-05-07T07:19:45.409777Z","completed_at":"2025-05-07T07:30:01.399891Z","wayline_uuid":"8b5d25f5-c444-43e8-9d88-c42e2816e83b","folder_id":108000234,"current_waypoint_index":21,"total_waypoints":21,"media_upload_status":"to_upload","resumable_status":"auto","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划7","uuid":"21b3af6c-68d4-4eb0-b86c-2c5f154a9425","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T07:51:13.382971Z","end_at":"2025-05-07T08:04:13.382972Z","run_at":"2025-05-07T07:51:14.076944Z","completed_at":"2025-05-07T08:03:12.298899Z","wayline_uuid":"44f0a3d7-f13b-4e1e-a6dd-0207da658545","folder_id":108019568,"current_waypoint_index":23,"total_waypoints":24,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-05-07T08:03:11.902Z","sn":"8UUXN4300A04KQ"}]},{"name":"新建计划8","uuid":"387d812a-903b-4cb7-97e0-1ee8b38727c7","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T08:18:33.725043Z","end_at":"2025-05-07T08:24:05.725043Z","run_at":"2025-05-07T08:18:34.523417Z","completed_at":"2025-05-07T08:23:29.028929Z","wayline_uuid":"7c716532-6146-4db8-903d-a6207b1aca67","folder_id":108037466,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"新建计划9","uuid":"64036866-dadc-4cb7-ace0-2104dddee2a1","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-07T09:14:59.870035Z","end_at":"2025-05-07T09:20:31.870035Z","run_at":"2025-05-07T09:15:00.557724Z","completed_at":"2025-05-07T09:19:58.54438Z","wayline_uuid":"646ae885-b6c9-43cd-b389-eae771d65bb9","folder_id":108068470,"current_waypoint_index":2,"total_waypoints":2,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"大坝左","uuid":"35b03b9c-fee6-4350-bd91-001718af0edf","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-08T08:01:32.033414Z","end_at":"2025-05-08T08:11:56.033414Z","run_at":"2025-05-08T08:01:32.779982Z","completed_at":"2025-05-08T08:04:07.231975Z","wayline_uuid":"f579b0fd-cbd7-4d84-b8ae-73dea3841b51","folder_id":108364880,"current_waypoint_index":0,"total_waypoints":24,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-05-08T08:04:05.946Z","sn":"8UUXN4300A04KQ"}]},{"name":"大坝至门卫","uuid":"a74a67e8-fcef-4c6d-9b20-6a968fcc9c84","task_type":"immediate","status":"starting_failure","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-12T05:54:53.117137Z","end_at":"2025-05-12T06:07:35.117137Z","run_at":"2025-05-12T05:54:53.195528Z","completed_at":null,"wayline_uuid":"5a1aa016-ef52-4e49-a357-fabf2f15b77c","folder_id":0,"current_waypoint_index":0,"total_waypoints":38,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":219102,"message":"","happen_at":"2025-05-12T05:54:53.200434Z","sn":"8UUXN4300A04KQ"}]},{"name":"大坝至门卫","uuid":"21e45cd0-4e56-410b-a9ea-07a16af5f3c9","task_type":"immediate","status":"terminated","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-12T06:28:27.242445Z","end_at":"2025-05-12T06:41:09.242445Z","run_at":"2025-05-12T06:28:27.928504Z","completed_at":"2025-05-12T06:37:44.329636Z","wayline_uuid":"d2809922-4156-4940-a878-2ae8e1e4a47a","folder_id":109500588,"current_waypoint_index":21,"total_waypoints":38,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":[{"code":322282,"message":"","happen_at":"2025-05-12T06:37:43.84Z","sn":"8UUXN4300A04KQ"}]},{"name":"大坝至门卫","uuid":"027458d0-df2c-441d-b582-73c05dd7ab4c","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-12T06:51:14.430078Z","end_at":"2025-05-12T07:08:41.430078Z","run_at":"2025-05-12T06:51:15.708585Z","completed_at":"2025-05-12T07:07:02.526273Z","wayline_uuid":"48234957-8af7-489d-a00f-f83f4c341186","folder_id":109514706,"current_waypoint_index":38,"total_waypoints":38,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"下游","uuid":"56ea6657-b5f5-4741-810a-d9e81f2ad070","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-12T07:34:35.607609Z","end_at":"2025-05-12T08:01:21.60761Z","run_at":"2025-05-12T07:34:36.276991Z","completed_at":"2025-05-12T07:59:52.351712Z","wayline_uuid":"e38ec342-b9f4-4415-b6ff-485634eba879","folder_id":109544124,"current_waypoint_index":40,"total_waypoints":40,"media_upload_status":"to_upload","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"大坝左","uuid":"3e749dc4-031a-4e2f-9c05-60c8d6f8f621","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-12T08:31:39.043317Z","end_at":"2025-05-12T08:41:49.043317Z","run_at":"2025-05-12T08:31:39.990588Z","completed_at":"2025-05-12T08:41:23.079079Z","wayline_uuid":"ac67ff24-a4f5-4e9d-b805-20c01a2e9fb3","folder_id":109582494,"current_waypoint_index":24,"total_waypoints":24,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"大坝裂缝","uuid":"e881550e-9753-4381-b2b9-7f73fb26f145","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-14T07:55:30.20398Z","end_at":"2025-05-14T08:13:21.203981Z","run_at":"2025-05-14T07:55:30.890041Z","completed_at":"2025-05-14T08:09:11.389109Z","wayline_uuid":"3eafff2c-539a-43d8-b39b-c0de7edded07","folder_id":110515488,"current_waypoint_index":42,"total_waypoints":42,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null},{"name":"大坝裂缝1","uuid":"a8fe035d-22b9-4c02-b75e-849f9949bb27","task_type":"immediate","status":"success","sn":"8UUXN4300A04KQ","landing_dock_sn":"","begin_at":"2025-05-14T08:19:03.277083Z","end_at":"2025-05-14T08:24:54.277083Z","run_at":"2025-05-14T08:19:04.038062Z","completed_at":"2025-05-14T08:23:49.57025Z","wayline_uuid":"b431c035-43b7-4b6a-9527-6fbddfd06eb2","folder_id":110535864,"current_waypoint_index":6,"total_waypoints":6,"media_upload_status":"upload_finished","resumable_status":"manual","is_break_point_resume":false,"operations":null,"exceptions":null}] 这是返回的结果

2025-04-02T02:29:07.741745951Z Debug: /test_results/debug.log 2025-04-02T02:29:07.749470618Z Output: /test_results/output.xml 2025-04-02T02:29:07.757978666Z Log: /test_results/log.html 2025-04-02T02:29:07.760244839Z Report: /test_results/report.html 2025-04-02T02:29:08.196142522Z 2025-04-02 10:29:08,195 - REQUESTHANDLER-GENERAL - ERROR - test_execution container execution failed 2025-04-02T02:29:08.196286140Z [192.168.101.12][REQUESTHANDLER-GENERAL] - ERROR - test_execution container execution failed 2025-04-02T02:29:08.196298630Z Request finished after 176.84100675582886 seconds 2025-04-02T02:29:08.196368728Z 2025-04-02 10:29:08,196 - QUEUE_RUNNER - INFO - Request finished after 176.84100675582886 seconds 2025-04-02T02:29:08.196612133Z 2025-04-02 10:29:08,196 - QUEUE_RUNNER - INFO - ROBOT_NOT_READY_COUNTER: 9 2025-04-02T02:29:08.196690730Z 2025-04-02 10:29:08,196 - QUEUE_RUNNER - WARNING - Robot was unable to start test execution due to faulty start conditions or test execution fail limit reached. Reason: test execution failed. Retrying in 0 seconds. 2025-04-02T02:29:08.196743458Z 2025-04-02 10:29:08,196 - QUEUE_RUNNER - ERROR - MAX Retries reached for test execution failed, cant start test executions. Pausing queue. 2025-04-02T02:29:08.196904489Z 2025-04-02 10:29:08,196 - STATE - INFO - Queue paused: True 2025-04-02T02:29:08.429011595Z 2025-04-02 10:29:08,428 - STATE - INFO - current battery temperature is 26.45 degree Celsius 2025-04-02T02:29:08.429031121Z 2025-04-02 10:29:08,428 - STATE - INFO - skip recharge check False 2025-04-02T02:29:08.435476005Z [192.168.101.12][STATE] - INFO - Queue paused: True 2025-04-02T02:29:08.435492097Z [192.168.101.12][STATE] - INFO - current battery temperature is 26.45 degree Celsius 2025-04-02T02:29:08.435494086Z [192.168.101.12][STATE] - INFO - skip recharge check False 2025-04-02T02:29:08.435495408Z XUnit: /results/23481005013200294/general/frost-basic_functionality-basic_function_test_docking.robot/2025-04-02-10-26-02/xunit.xml 2025-04-02T02:29:08.441624786Z Log: /app/log.html 2025-04-02T02:29:08.444406042Z Report: /app/report.html 2025-04-02T02:29:08.445306377Z 2025-04-02 10:29:08,445 - asyncio - ERROR - Unclosed client session 2025-04-02T02:29:08.445309256Z client_session: <aiohttp.client.ClientSession object at 0x7c73141cdcd0> 2025-04-02T02:29:08.462341617Z Log: /results/23481005013200294/general/frost-basic_functionality-basic_function_test_docking.robot/2025-04-02-10-26-02/log.html 2025-04-02T02:29:08.465324405Z Report: /results/23481005013200294/general/frost-basic_functionality-basic_function_test_docking.robot/2025-04-02-10-26-02/report.html 2025-04-02T02:29:08.468134887Z 2025-04-02 10:29:08,467 - ORBITALMOCKSERVICE - WARNING - Attempting to stop gracefully… 2025-04-02T02:29:28.838534261Z 2025-04-02 10:29:28,838 - ORBITALMOCKSERVICE - INFO - Container stopped gracefully. 2025-04-02T02:29:33.860750562Z [ORBITALMOCKSERVICE][orbital_mock_192.168.101.12] - WARNING - Attempting to stop gracefully… 2025-04-02T02:29:33.860775456Z [ORBITALMOCKSERVICE][orbital_mock_192.168.101.12] - INFO - Container stopped gracefully.

[INFO] Scanning for projects... [INFO] [INFO] ----------------< com.project.demo:project-spring_boot >---------------- [INFO] Building project-spring boot 1.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ project-spring_boot --- [INFO] Deleting C:\Users\K\Desktop\springboot flower system\project\target [INFO] [INFO] --- resources:3.1.0:resources (default-resources) @ project-spring_boot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 22593 resources [INFO] [INFO] --- compiler:3.8.1:compile (default-compile) @ project-spring_boot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 97 source files to C:\Users\K\Desktop\springboot flower system\project\target\classes [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:15 min [INFO] Finished at: 2025-03-16T21:16:52+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project project-spring_boot: Fatal error compiling: 无效的目标发行版: 17 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Downloading from cbu-maven-public: https://maven.cloudartifact.lfg.dragon.tools.huawei.com/artifactory/cbu-maven-public/com/huawei/dt/dt4j-operation/2.0.13/dt4j-operation-2.0.13.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.283 s [INFO] Finished at: 2025-05-13T16:10:04+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal com.huawei.dt:dt4j-coverage-maven-plugin:2.0.13:instrument (instrument) on project convert-protocol-starter: Execution instrument of goal com.huawei.dt:dt4j-coverage-maven-plugin:2.0.13:instrument failed: Plugin com.huawei.dt:dt4j-coverage-maven-plugin:2.0.13 or one of its dependencies could not be resolved: Could not transfer artifact com.huawei.dt:dt4j-operation:jar:2.0.13 from/to cbu-maven-public (https://maven.cloudartifact.lfg.dragon.tools.huawei.com/artifactory/cbu-maven-public/): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Maven home: D:\apache-maven-3.6.3\bin\.. Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_202\jre Default locale: zh_CN, platform encoding: GBK OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.069 s [INFO] Finished at: 2025-05-16T15:12:13+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format :<goal> or :[:]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException

E:\IdeaProjects\tag-plugin-verify>mvn clean package -Dmaven.test.skip=true -s D:\maven\apache-maven-3.6.3\conf\settings-comp-sheca.xml [INFO] Scanning for projects... [INFO] [INFO] ------------------< com.sheca.tag:tag-plugin-verify >------------------- [INFO] Building tag-plugin-verify 1.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ tag-plugin-verify --- [INFO] [INFO] --- spring-boot-maven-plugin:2.7.1:build-info (default) @ tag-plugin-verify --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.928 s [INFO] Finished at: 2023-06-09T10:05:33+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.7.1:build-info (default) on project tag-plugin-verify: Cannot create parent directory for 'E:\IdeaProjects\tag-plugin-verify\target\classes\META-INF\build-info.properties' -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

2025-05-19 10:33:54 [JobThread.run-130]
----------- datax-web job execute start -----------
----------- Param: 2025-05-19 10:33:54 [BuildCommand.buildDataXParam-100] ------------------Command parameters:-p"-DlastTime='2025-05-19%08:00:00' -DcurrentTime='2025-05-19%10:33:54'" 2025-05-19 10:33:54 [ExecutorJobHandler.execute-57] ------------------DataX process id: 2669844 2025-05-19 10:33:54 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:54 [AnalysisStatistics.analysisStatisticsLog-53] DataX (DATAX-OPENSOURCE-3.0), From Alibaba ! 2025-05-19 10:33:54 [AnalysisStatistics.analysisStatisticsLog-53] Copyright (C) 2010-2017, Alibaba Group. All Rights Reserved. 2025-05-19 10:33:54 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:54 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:54 [ProcessCallbackThread.callbackLog-186]
----------- datax-web job callback finish. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.146 [main] INFO MessageSource - JVM TimeZone: GMT+08:00, Locale: zh_CN 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.148 [main] INFO MessageSource - use Locale: zh_CN timeZone: sun.util.calendar.ZoneInfo[id="GMT+08:00",offset=28800000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.161 [main] INFO VMInfo - VMInfo# operatingSystem class => sun.management.OperatingSystemImpl 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.167 [main] INFO Engine - the machine info => 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] osInfo: Linux amd64 4.19.90-17.ky10.x86_64 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] jvmInfo: Huawei Technologies Co., Ltd 1.8 25.242-b08 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] cpu num: 32 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] totalPhysicalMemory: -0.00G 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] freePhysicalMemory: -0.00G 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] maxFileDescriptorCount: -1 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] currentOpenFileDescriptorCount: -1 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] GC Names [PS MarkSweep, PS Scavenge] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] MEMORY_NAME | allocation_size | init_size 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] PS Eden Space | 256.00MB | 256.00MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] Code Cache | 240.00MB | 2.44MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] Compressed Class Space | 1,024.00MB | 0.00MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] PS Survivor Space | 42.50MB | 42.50MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] PS Old Gen | 683.00MB | 683.00MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] Metaspace | -0.00MB | 0.00MB 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.181 [main] INFO Engine - 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] { 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "content":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] { 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "reader":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "parameter":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "password":"**********", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "connection":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] { 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "querySql":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "select CONCAT(comm_code,id) as id, uuid, record_time, open_mode, comm_code, open_object, name, phone_num, person_type, open_device, device_place, person_uuid, picture_url, open_video, created_by, created_time, updated_by, updated_time, del_flag, mczt, pass, in_out_flag, temp, temp_normal, extra, health_info, created_time as GY_RKGXSJ, case when del_flag=2 then 1 else 0 end as GY_SFYSC from door_open_record where record_time >= '2025-05-19%08:00:00' and record_time < '2025-05-19%10:33:54'" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "jdbcUrl":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "jdbc:mysql://172.20.20.57:8066/wuye?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "splitPk":"", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "username":"root" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] }, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "name":"mysqlreader" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] }, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "writer":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "parameter":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "password":"**********", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "column":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "id", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "uuid", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "record_time", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "open_mode", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "comm_code", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "open_object", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "name", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "phone_num", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "person_type", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "open_device", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "device_place", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "person_uuid", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "picture_url", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "open_video", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "created_by", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "created_time", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "updated_by", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "updated_time", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "del_flag", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "mczt", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "pass", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "in_out_flag", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "temp", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "temp_normal", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "extra", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "health_info", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "GY_RKGXSJ", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "GY_SFYSC" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "connection":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] { 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "jdbcUrl":"jdbc:mysql://172.20.20.67:3306/kitty?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8", 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "table":[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "door_open_record" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "username":"root" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] }, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "name":"mysqlwriter" 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "setting":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "errorLimit":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "record":100, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "percentage":0.02 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] }, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "speed":{ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "byte":1048576, 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] "channel":3 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] } 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.200 [main] INFO PerfTrace - PerfTrace traceId=job_-1, isEnable=false 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.200 [main] INFO JobContainer - DataX jobContainer starts job. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.201 [main] INFO JobContainer - Set jobId = 0 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.533 [job-0] INFO OriginalConfPretreatmentUtil - Available jdbcUrl:jdbc:mysql://172.20.20.57:8066/wuye?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8&yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.791 [job-0] INFO OriginalConfPretreatmentUtil - table:[door_open_record] all columns:[ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] id,uuid,record_time,open_mode,comm_code,open_object,name,phone_num,person_type,open_device,device_place,person_uuid,picture_url,open_video,created_by,created_time,updated_by,updated_time,del_flag,mczt,pass,in_out_flag,GY_RKGXSJ,GY_SFYSC,temp,temp_normal,extra,health_info 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ]. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.798 [job-0] INFO OriginalConfPretreatmentUtil - Write data [ 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] INSERT INTO %s (id,uuid,record_time,open_mode,comm_code,open_object,name,phone_num,person_type,open_device,device_place,person_uuid,picture_url,open_video,created_by,created_time,updated_by,updated_time,del_flag,mczt,pass,in_out_flag,temp,temp_normal,extra,health_info,GY_RKGXSJ,GY_SFYSC) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ], which jdbcUrl like:[jdbc:mysql://172.20.20.67:3306/kitty?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8&yearIsDateType=false&zeroDateTimeBehavior=convertToNull&rewriteBatchedStatements=true&tinyInt1isBit=false] 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.798 [job-0] INFO JobContainer - jobContainer starts to do prepare ... 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.799 [job-0] INFO JobContainer - DataX Reader.Job [mysqlreader] do prepare work . 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.799 [job-0] INFO JobContainer - DataX Writer.Job [mysqlwriter] do prepare work . 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.799 [job-0] INFO JobContainer - jobContainer starts to do split ... 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.800 [job-0] INFO JobContainer - Job set Max-Byte-Speed to 1048576 bytes. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.801 [job-0] INFO JobContainer - DataX Reader.Job [mysqlreader] splits to [1] tasks. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.802 [job-0] INFO JobContainer - DataX Writer.Job [mysqlwriter] splits to [1] tasks. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.827 [job-0] INFO JobContainer - jobContainer starts to do schedule ... 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.830 [job-0] INFO JobContainer - Scheduler starts [1] taskGroups. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.832 [job-0] INFO JobContainer - Running by standalone Mode. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.836 [taskGroup-0] INFO TaskGroupContainer - taskGroupId=[0] start [1] channels for [1] tasks. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.840 [taskGroup-0] INFO Channel - Channel set byte_speed_limit to 2000000. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.840 [taskGroup-0] INFO Channel - Channel set record_speed_limit to -1, No tps activated. 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.847 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] taskId[0] attemptCount[1] is started 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:55.850 [0-0-0-reader] INFO CommonRdbmsReader$Task - Begin to read record by Sql: [select CONCAT(comm_code,id) as id, uuid, record_time, open_mode, comm_code, open_object, name, phone_num, person_type, open_device, device_place, person_uuid, picture_url, open_video, created_by, created_time, updated_by, updated_time, del_flag, mczt, pass, in_out_flag, temp, temp_normal, extra, health_info, created_time as GY_RKGXSJ, case when del_flag=2 then 1 else 0 end as GY_SFYSC from door_open_record where record_time >= '2025-05-19%08:00:00' and record_time < '2025-05-19%10:33:54' 2025-05-19 10:33:55 [AnalysisStatistics.analysisStatisticsLog-53] ] jdbcUrl:[jdbc:mysql://172.20.20.57:8066/wuye?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8&yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true]. 2025-05-19 10:33:56 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:56.927 [0-0-0-reader] INFO CommonRdbmsReader$Task - Finished read record by Sql: [select CONCAT(comm_code,id) as id, uuid, record_time, open_mode, comm_code, open_object, name, phone_num, person_type, open_device, device_place, person_uuid, picture_url, open_video, created_by, created_time, updated_by, updated_time, del_flag, mczt, pass, in_out_flag, temp, temp_normal, extra, health_info, created_time as GY_RKGXSJ, case when del_flag=2 then 1 else 0 end as GY_SFYSC from door_open_record where record_time >= '2025-05-19%08:00:00' and record_time < '2025-05-19%10:33:54' 2025-05-19 10:33:56 [AnalysisStatistics.analysisStatisticsLog-53] ] jdbcUrl:[jdbc:mysql://172.20.20.57:8066/wuye?serverTimezone=Asia/Shanghai&useLegacyDatetimeCode=false&useSSL=false&nullNamePatternMatchesAll=true&useUnicode=true&characterEncoding=UTF-8&yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true]. 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.242 [0-0-0-writer] WARN CommonRdbmsWriter$Task - 回滚此次写入, 采用每次写入一行方式提交. 因为:Data truncation: Out of range value for column 'id' at row 1 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.247 [0-0-0-writer] ERROR StdoutPluginCollector - 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'id' at row 1 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3976) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2495) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1903) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1242) ~[mysql-connector-java-5.1.47.jar:5.1.47] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.doOneInsert(CommonRdbmsWriter.java:382) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.doBatchInsert(CommonRdbmsWriter.java:362) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWriteWithConnection(CommonRdbmsWriter.java:297) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWrite(CommonRdbmsWriter.java:319) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Task.startWrite(MysqlWriter.java:78) [mysqlwriter-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.taskgroup.runner.WriterRunner.run(WriterRunner.java:56) [datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_242] 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.259 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851990","type":5},{"byteSize":32,"index":1,"rawData":"4d0986595d40485aa9839e0cccec4044","type":5},{"byteSize":8,"index":2,"rawData":1747612856000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871658544258319","type":5},{"byteSize":2,"index":6,"rawData":"周云","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"c68130c53b1441cc9e9205a0df155888","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0C/rBQUOGgqdLiARP_wAADchi_tzQg504.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.260 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851991","type":5},{"byteSize":32,"index":1,"rawData":"d52cf199b8b54901bad84a21f3fa25b1","type":5},{"byteSize":8,"index":2,"rawData":1747612880000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871742111902520","type":5},{"byteSize":3,"index":6,"rawData":"庄华琴","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":2,"type":3},{"byteSize":16,"index":9,"rawData":"0020220987YXJDSQ","type":5},{"byteSize":10,"index":10,"rawData":"中联天玺南出入口门禁","type":5},{"byteSize":32,"index":11,"rawData":"729da5882c6a41d9bfda0949931a1be1","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0C/rBQUN2gqdNeASmFSAAJOMjYE8R8862.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.262 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851992","type":5},{"byteSize":32,"index":1,"rawData":"4bd01f7d35f4437da3e276c6c31a5c5c","type":5},{"byteSize":8,"index":2,"rawData":1747612889000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871741681870967","type":5},{"byteSize":2,"index":6,"rawData":"严巧","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"7f932dde89b64205a0d17d58871f9bad","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0B/rBQUNmgqdNmAQ_S7AAC22NFh6HM442.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.263 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851993","type":5},{"byteSize":32,"index":1,"rawData":"a766ed3cea29444181be6cedd1f816f5","type":5},{"byteSize":8,"index":2,"rawData":1747612931000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871659255470895","type":5},{"byteSize":3,"index":6,"rawData":"华明娟","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"02fb5d620ac3460f8957de4b5b44336a","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0D/rBQUNWgqdQOAeyFkAACw3Hvmovc046.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.264 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851994","type":5},{"byteSize":32,"index":1,"rawData":"9a923175d25b41acbf8515f0d2b1d2ff","type":5},{"byteSize":8,"index":2,"rawData":1747613034000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871745223203681","type":5},{"byteSize":3,"index":6,"rawData":"林清唐","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":0,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"d4d1b42ec6d540b9b459029dec96334a","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0D/rBQUNWgqdWqAEVqIAAC_n9Jyueo433.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.265 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851995","type":5},{"byteSize":32,"index":1,"rawData":"847f99174d4d4d26aaae669dd638e123","type":5},{"byteSize":8,"index":2,"rawData":1747613052000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871710205089306","type":5},{"byteSize":3,"index":6,"rawData":"陈惠钦","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":16,"index":9,"rawData":"0020220996YXJDSQ","type":5},{"byteSize":7,"index":10,"rawData":"北门消防门入口","type":5},{"byteSize":32,"index":11,"rawData":"2e6fdb84fdd44a94939c019a8e0d2b85","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0C/rBQUOGgqdYWAEJkoAAHEBO1Px4w499.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.266 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851996","type":5},{"byteSize":32,"index":1,"rawData":"6befb459b2da4ce1a3f9e7e9f3b9dcb4","type":5},{"byteSize":8,"index":2,"rawData":1747613064000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871741253388198","type":5},{"byteSize":3,"index":6,"rawData":"王枝发","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"fe8e4331e4514d57bec126d6c767cc6c","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0D/rBQUNWgqdYiAQR8YAAC_5wURlHI916.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.268 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851997","type":5},{"byteSize":32,"index":1,"rawData":"bd4ff446847c483ea12dbc1a746ef9e0","type":5},{"byteSize":8,"index":2,"rawData":1747613074000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871666857417929","type":5},{"byteSize":3,"index":6,"rawData":"刘必梅","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"09af342659144542a694fc75c8cd1c6f","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0C/rBQUN2gqdZKAMtxUAADEYp0rtqk024.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.269 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据: 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] {"exception":"Data truncation: Out of range value for column 'id' at row 1","record":[{"byteSize":22,"index":0,"rawData":"0591202111180387851998","type":5},{"byteSize":32,"index":1,"rawData":"f238007b8c634bb394c0425e9ffc2716","type":5},{"byteSize":8,"index":2,"rawData":1747613150000,"type":7},{"byteSize":4,"index":3,"rawData":1004,"type":3},{"byteSize":16,"index":4,"rawData":"0591202111180387","type":5},{"byteSize":29,"index":5,"rawData":"05912021111803871675924700007","type":5},{"byteSize":3,"index":6,"rawData":"俞玉琴","type":5},{"byteSize":0,"index":7,"rawData":"","type":5},{"byteSize":1,"index":8,"rawData":1,"type":3},{"byteSize":28,"index":9,"rawData":"NYN0300010000020000S1F001436","type":5},{"byteSize":5,"index":10,"rawData":"西门M29","type":5},{"byteSize":32,"index":11,"rawData":"198e3637945e4376a32310eae176b3ef","type":5},{"byteSize":83,"index":12,"rawData":"https://iot.yinxismart.top:8888/group1/M00/02/0C/rBQUN2gqdd6AAFFhAADRKbsR6uM999.jpg","type":5},{"byteSize":0,"index":13,"type":5},{"byteSize":0,"index":14,"type":5},{"byteSize":0,"index":15,"type":7},{"byteSize":0,"index":16,"type":5},{"byteSize":0,"index":17,"type":7},{"byteSize":1,"index":18,"rawData":1,"type":3},{"byteSize":1,"index":19,"rawData":1,"type":3},{"byteSize":1,"index":20,"rawData":1,"type":3},{"byteSize":1,"index":21,"rawData":0,"type":3},{"byteSize":0,"index":22,"type":5},{"byteSize":1,"index":23,"rawData":0,"type":3},{"byteSize":0,"index":24,"type":5},{"byteSize":0,"index":25,"type":5},{"byteSize":0,"index":26,"type":7},{"byteSize":1,"index":27,"rawData":0,"type":3}],"type":"writer"} 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.475 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] taskId[0] is successed, used[1629]ms 2025-05-19 10:33:57 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:33:57.476 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] completed it's tasks. 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05.848 [job-0] INFO StandAloneJobContainerCommunicator - Total 361 records, 98167 bytes | Speed 9.59KB/s, 36 records/s | Error 361 records, 98167 bytes | All Task WaitWriterTime 0.001s | All Task WaitReaderTime 1.066s | Percentage 100.00% 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05.849 [job-0] ERROR JobContainer - 运行scheduler 模式[standalone]出错. 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05.849 [job-0] ERROR JobContainer - Exception when job run 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] com.alibaba.datax.common.exception.DataXException: Code:[Framework-14], Description:[DataX传输脏数据超过用户预期,该错误通常是由于源端数据存在较多业务脏数据导致,请仔细检查DataX汇报的脏数据日志信息, 或者您可以适当调大脏数据阈值 .]. - 脏数据条数检查不通过,限制是[100]条,但实际上捕获了[361]条. 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:30) ~[datax-common-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.util.ErrorRecordChecker.checkRecordLimit(ErrorRecordChecker.java:58) ~[datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.scheduler.AbstractScheduler.schedule(AbstractScheduler.java:89) ~[datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.JobContainer.schedule(JobContainer.java:535) ~[datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:119) ~[datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.start(Engine.java:86) [datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.entry(Engine.java:168) [datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.main(Engine.java:201) [datax-core-0.0.1-SNAPSHOT.jar:na] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05.850 [job-0] INFO StandAloneJobContainerCommunicator - Total 361 records, 98167 bytes | Speed 95.87KB/s, 361 records/s | Error 361 records, 98167 bytes | All Task WaitWriterTime 0.001s | All Task WaitReaderTime 1.066s | Percentage 100.00% 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05.850 [job-0] ERROR Engine - 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 经DataX智能分析,该任务最可能的错误原因是: 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] com.alibaba.datax.common.exception.DataXException: Code:[Framework-14], Description:[DataX传输脏数据超过用户预期,该错误通常是由于源端数据存在较多业务脏数据导致,请仔细检查DataX汇报的脏数据日志信息, 或者您可以适当调大脏数据阈值 .]. - 脏数据条数检查不通过,限制是[100]条,但实际上捕获了[361]条. 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:30) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.util.ErrorRecordChecker.checkRecordLimit(ErrorRecordChecker.java:58) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.scheduler.AbstractScheduler.schedule(AbstractScheduler.java:89) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.JobContainer.schedule(JobContainer.java:535) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:119) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.start(Engine.java:86) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.entry(Engine.java:168) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] at com.alibaba.datax.core.Engine.main(Engine.java:201) 2025-05-19 10:34:05 [AnalysisStatistics.analysisStatisticsLog-53] 2025-05-19 10:34:05 [JobThread.run-165]
----------- datax-web job execute end(finish) -----------
----------- ReturnT:ReturnT [code=500, msg=command exit value(1) is failed, content=null] 2025-05-19 10:34:05 [TriggerCallbackThread.callbackLog-186]
----------- datax-web job callback finish. 如何清空脏数据?

最新推荐

recommend-type

基于MATLAB的樽海鞘优化算法(SSA)实现及23个基准测试函数的效果展示

内容概要:本文介绍了樽海鞘优化算法(SSA),这是一种受樽海鞘觅食行为启发的新型优化算法。文章首先阐述了SSA的起源和原理,然后提供了详细的MATLAB代码实现步骤,包括参数设置、种群初始化、迭代更新、适应度评价等关键环节。文中还展示了SSA在23个常用基准测试函数上的运行效果,通过图表形式直观呈现了算法的搜索过程、收敛速度和最优解质量。最后,通过对具体案例的分析,进一步解释了SSA在函数优化中的优势和局限性。 适合人群:对优化算法感兴趣的科研人员、学生以及从事相关研究的技术人员。 使用场景及目标:适用于需要高效求解复杂优化问题的研究项目,特别是那些涉及多维空间、非线性约束等问题的场合。目标是帮助读者掌握SSA的工作机制,评估其性能并应用于实际问题。 其他说明:文章不仅提供理论讲解,还包括完整的MATLAB代码实现,便于读者动手实践。同时鼓励读者参与讨论,共同探索更多优化算法和技术。
recommend-type

基于乔列斯基分解的Matlab三维随机场生成及其在FLAC3D建模中的应用

内容概要:本文详细介绍了利用Matlab进行三维随机场生成的方法,特别是在处理多参数互相关情况下的空间变异性问题。首先,通过构建协方差矩阵并进行乔列斯基分解来生成单个随机场,接着扩展到生成互相关随机场,如孔隙度场和渗透率场。文中还讨论了在FLAC3D中导入生成的随机场数据的具体步骤,以及在实际工程应用中随机场空间变异性对计算结果的影响。此外,作者分享了一些实用技巧,如避免协方差矩阵病态、提高计算效率的方法。 适合人群:从事地质工程、岩土力学等领域研究的技术人员,尤其是那些需要处理复杂地质参数空间变异性的研究人员。 使用场景及目标:适用于需要模拟地质参数空间变异性的工程项目,如边坡稳定性分析。目标是提高模拟精度,更好地理解和预测地质行为。 其他说明:文中提供了详细的Matlab代码片段和FLAC3D脚本,帮助读者快速上手实践。同时,强调了在处理强空间变异性时可能出现的问题及解决方案。
recommend-type

深入理解JPA注解@Access用法示例

在Java持久化API(JPA)中,注解是定义元数据的主要方式,它告诉JPA如何将实体类映射到数据库表以及如何处理实体类。其中,`@Access`注解是一个用于指定JPA实体访问类型的注解,它定义了在Java实体类与其映射的数据库表之间的数据访问策略。 `@Access`注解可以使用在两个不同的层面: 1. 类级别(Class-level):在类级别使用时,该注解定义了整个实体类的访问类型。 2. 属性级别(Property-level):在属性级别使用时,该注解覆盖类级别的访问策略,允许你为单个属性定义不同的访问类型。 该注解有两种可用的值,分别对应不同的访问类型: - `AccessType.FIELD`:这是默认值,指示JPA通过字段访问实体状态。在这种情况下,JPA将直接访问类中的私有或受保护字段。 - `AccessType.PROPERTY`:指示JPA通过JavaBean属性(getter和setter方法)访问实体状态。在这种情况下,JPA将调用相应的getter和setter方法来获取或设置属性值。 使用`@Access`注解的一个典型实例可能会涉及到以下内容: ```java import javax.persistence.Access; import javax.persistence.AccessType; import javax.persistence.Entity; @Entity @Access(AccessType.PROPERTY) public class MyEntity { private String name; @Access(AccessType.FIELD) public String getName() { return name; } public void setName(String name) { this.name = name; } } ``` 在上述示例中,`MyEntity`是一个JPA实体类。我们使用`@Entity`注解标记该类作为JPA实体。`@Access(AccessType.PROPERTY)`注解在类级别指定了访问类型为属性。然而,在`name`属性上,我们使用了`@Access(AccessType.FIELD)`注解来覆盖类级别的访问类型,指示JPA直接通过字段来访问`name`属性,而不通过getter和setter方法。 理解`@Access`注解的使用对于调整实体的持久化行为是非常重要的。它允许开发者在不同的访问级别之间进行选择,以此来控制对实体的访问。这在某些特定的业务逻辑中是非常有用的,例如,可能需要绕过默认的getter/setter机制,直接访问私有字段。 在实际的项目开发中,`@Access`注解通常与`@Column`、`@Id`、`@GeneratedValue`等其它JPA注解结合使用,来定义实体的具体映射细节。正确地使用`@Access`注解可以改善应用的性能,尤其是在涉及到大量数据操作时。 值得一提的是,`@Access`注解还与`AccessType`枚举紧密相关,后者定义了访问类型的合法值。开发者需要确保在使用`@Access`注解时指定的访问类型与`AccessType`枚举中的值一致。 总结来说,JPA中的`@Access`注解是一个细微但功能强大的工具,它提供了对实体访问策略的精细控制。开发者可以通过这个注解来优化实体的持久化过程,并在需要时覆盖默认的访问机制。在JPA的学习和使用过程中,理解和掌握`@Access`注解及其背后的机制是构建高效、灵活的持久化解决方案的关键部分。
recommend-type

【Postman脚本编写】:从基础到高级技巧,全方位提升测试能力

# 1. Postman脚本编写入门 Postman是API开发和测试不可或缺的工具,而编写脚本是Postman强大的自定义功能的体现。无论你是新手还是有经验的开发者,本章将为你提供一个Postman脚本编写的入门级指南。 ## 1.1 Postman脚本语言简介 Postman脚本主要使用JavaScript语言,这是Web开发中最常用的语言之一。熟悉J
recommend-type

TIM_ICInitTypeDef TIM2_ICInitStructure; void TIM2_Cap_Init(u16 arr,u16 psc) { GPIO_InitTypeDef GPIO_InitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; // TIM_OCInitTypeDef TIM_OCInitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); //使能TIM2时钟 RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA, ENABLE); //使能GPIOA时钟 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPD; //PA1 输入 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //50M GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //PA3输出 GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //50M GPIO_Init(GPIOA, &GPIO_InitStructure); // GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; // GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //PA0输出 // GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //50M // GPIO_Init(GPIOA, &GPIO_InitStructure); //初始化定时器2 TIM2 TIM_TimeBaseStructure.TIM_Period = arr; //设定计数器自动重装值 TIM_TimeBaseStructure.TIM_Prescaler =psc; //预分频器 TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1; //设置时钟分割:TDTS = Tck_tim TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; //TIM向上计数模式 TIM_TimeBaseInit(TIM2, &TIM_TimeBaseStructure); //根据TIM_TimeBaseInitStruct中指定的参数初始化TIMx的时间基数单位 // // TIM_OCInitStructure.TIM_OCMode = TIM_OCMode_PWM1; //选择PWM1模式 // TIM_OCInitStructure.TIM_OutputState = TIM_OutputState_Enable; //比较输出使能 //// TIM_OCInitStruct.TIM_OutputNState = TIM_OutputNState_Disable; // TIM_OCInitStructure.TIM_Pulse = 0; //设置待装入捕获比较寄存器的脉冲值 // TIM_OCInitStructure.TIM_OCPolarity = TIM_OCPolarity_High; //设置输出极性 // TIM_OCInitStructure.TIM_OCIdleState = TIM_OCIdleState_Reset; // // TIM_OC1Init(TIM2,&TIM_OCInitStructure); //初始化输出比较参数,通道3 // TIM_OC1PreloadConfig(TIM2,TIM_OCPreload_Enable); //CH1使能预装载寄存器 // TIM_ARRPreloadConfig(TIM2, ENABLE); //使能TIM3在ARR上的预装载寄存器 //初始化TIM2输入捕获参数 TIM2_ICInitStructure.TIM_Channel = TIM_Channel_2; //CC1S=02 选择输入端 IC2映射到TI1上 TIM2_ICInitStructure.TIM_ICPolarity = TIM_ICPolarity_Rising; //上升沿捕获 TIM2_ICInitStructure.TIM_ICSelection = TIM_ICSelection_DirectTI; TIM2_ICInitStructure.TIM_ICPrescaler = TIM_ICPSC_DIV1; //配置输入分频,不分频 TIM2_ICInitStructure.TIM_ICFilter = 0x00;//配置输入滤波器 不滤波 TIM_ICInit(TIM2, &TIM2_ICInitStructure); //中断分组初始化 NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQn; //TIM2中断 NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; //先占优先级1级 NVIC_InitStructure.NVIC_IRQChannelSubPriority = 1; //从优先级1级 NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //IRQ通道被使能 NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器 TIM_ITConfig(TIM2,TIM_IT_Update|TIM_IT_CC2,ENABLE);//允许更新中断 ,允许CC2IE捕获中断 TIM_Cmd(TIM2,ENABLE ); //使能定时器2 // TIM2->CCR1 = 1500; } /************************************************************************** Function: Ultrasonic receiving echo function Input : none Output : none 函数功能:超声波接收回波函数 入口参数: 无 返回 值:无 **************************************************************************/ u16 TIM2CH2_CAPTURE_STA,TIM2CH2_CAPTURE_VAL; void Read_Distane(void) { PAout(3)=1; delay_us(15); PAout(3)=0; if(TIM2CH2_CAPTURE_STA&0X80)//成功捕获到了一次高电平 { Distance=TIM2CH2_CAPTURE_STA&0X3F; Distance*=65536; //溢出时间总和 Distance+=TIM2CH2_CAPTURE_VAL; //得到总的高电平时间 Distance=Distance*170/1000; //时间*声速/2(来回) 一个计数0.001ms TIM2CH2_CAPTURE_STA=0; //开启下一次捕获 } } /************************************************************************** Function: Pulse width reading interruption of ultrasonic echo Input : none Output : none 函数功能:超声波回波脉宽读取中断 入口参数: 无 返回 值:无 **************************************************************************/ void TIM2_IRQHandler(void) { u16 tsr; tsr=TIM2->SR; if((TIM2CH2_CAPTURE_STA&0X80)==0)//还未成功捕获 { if(tsr&0X01)//定时器溢出 { if(TIM2CH2_CAPTURE_STA&0X40)//已经捕获到高电平了 { if((TIM2CH2_CAPTURE_STA&0X3F)==0X3F)//高电平太长了 { TIM2CH2_CAPTURE_STA|=0X80; //标记成功捕获了一次 TIM2CH2_CAPTURE_VAL=0XFFFF; }else TIM2CH2_CAPTURE_STA++; } } if(tsr&0x04)//捕获2发生捕获事件 { if(TIM2CH2_CAPTURE_STA&0X40) //捕获到一个下降沿 { TIM2CH2_CAPTURE_STA|=0X80; //标记成功捕获到一次高电平脉宽 TIM2CH2_CAPTURE_VAL=TIM2->CCR2; //获取当前的捕获值. TIM2->CCER&=~(1<<5); //CC2P=0 设置为上升沿捕获 } else //还未开始,第一次捕获上升沿 { TIM2CH2_CAPTURE_STA=0; //清空 TIM2CH2_CAPTURE_VAL=0; TIM2CH2_CAPTURE_STA|=0X40; //标记捕获到了上升沿 TIM2->CNT=0; //计数器清空 TIM2->CCER|=1<<5; //CC2P=1 设置为下降沿捕获 } } } TIM2->SR=0;//清除中断标志位 } 把这段代码的PA2引脚改为PA1引脚

<think>好的,用户想将代码中的PA2引脚修改为PA1,并确保配置正确。首先我需要确定用户使用的硬件平台,比如是STM32还是其他微控制器。根据引用中的信息,用户提到了STM32F103和GD32F450VGT6,可能是在使用这两种芯片之一。接下来,用户提到的PA2和PA1属于GPIO引脚,修改时需要检查代码中所有涉及到PA2的地方。这包括初始化配置、外设复用设置(如UART、SPI、I2C等)、中断配置以及硬件驱动层的定义。例如,如果PA2用于SPI的片选引脚或者UART的TX引脚,那么改为PA1后需要确保对应的复用功能正确设置。根据引用[1],引脚编号由PIN设备驱动程序定义,可能需要
recommend-type

Android内部存储的使用方法及数据访问限制

在Android开发中,内部存储是一种用于保存应用数据的方式,它将数据保存在设备的内部存储器中,不对外部可见。内部存储数据是私有的,通常只能被创建它的应用访问。这种存储机制非常适合存储敏感数据,如用户设置、私有文件等。本文将详细探讨Android中内部存储的概念、特点、使用方法以及相关的最佳实践。 ### 内部存储的概念 内部存储,又称为私有存储,是指在Android应用开发中,数据被保存在一个私有的目录下,这个目录默认情况下其他应用无法访问。该目录通常位于`/data/data/<package_name>/`路径下,其中`<package_name>`是你的应用包名。在内部存储中,每个应用都有自己的私有文件目录,这样能够保证应用数据的安全性和隔离性。 ### 内部存储的特点 1. **私密性**:存储在内部存储中的数据,除了应用本身之外,其他应用无法直接访问。 2. **安全性**:即使设备被root,非应用用户也无法直接访问内部存储中的文件。 3. **自动管理**:当应用被卸载时,与该应用相关的内部存储中的数据也会被自动清除。 4. **存储容量有限**:与外部存储不同,内部存储空间往往较小,且受限于设备的存储能力。 5. **无需请求权限**:在Android 4.4(API 级别 19)以前,使用内部存储来存储数据不需要特别请求权限。 ### 使用方法 在Android中,内部存储的使用通常涉及以下几个API: - **Context.openFileOutput()**:用于在应用的内部存储中打开一个文件输出流,用于写入数据。 - **Context.openFileInput()**:用于打开一个文件输入流,读取内部存储中的数据。 - **FileOutputStream** 和 **FileInputStream**:用于文件的写入和读取。 - **getFilesDir()** 和 **getCacheDir()**:用于获取内部存储中应用的文件目录和缓存目录。 ### 示例代码 以下是使用内部存储的简单示例代码,展示了如何写入和读取文件: ```java // 写入数据到内部存储 FileOutputStream fos = openFileOutput("myfile.txt", Context.MODE_PRIVATE); OutputStreamWriter osw = new OutputStreamWriter(fos); osw.write("Hello, internal storage!"); osw.close(); // 从内部存储读取数据 FileInputStream fis = openFileInput("myfile.txt"); InputStreamReader isr = new InputStreamReader(fis); BufferedReader reader = new BufferedReader(isr); String line = reader.readLine(); Log.d("InternalStorage", line); // 输出: Hello, internal storage! ``` ### 最佳实践 - **管理文件生命周期**:确保当不需要时,正确地清理文件,避免占用无用的存储空间。 - **考虑使用外部存储**:对于不需要严格私密性的文件,例如用户下载的音乐或视频,可以考虑使用外部存储来节省内部空间。 - **使用缓存策略**:对于临时文件或缓存文件,可以使用`getCacheDir()`方法,系统会在存储空间不足时自动清除这些文件。 - **考虑API级别**:在编写代码时,要考虑到不同版本的Android可能对权限和存储API有不同的要求。 - **利用数据库**:对于结构化数据,可以考虑使用SQLite数据库来存储,这样更易于管理和查询数据。 ### 注意事项 - **权限和API级别**:从Android 6.0(API 级别 23)开始,即使是在内部存储中操作文件,也需要在运行时请求存储权限。因此,开发者需要在应用中处理运行时权限请求。 - **外部存储兼容性**:对于需要与外部存储交换数据的场景,建议使用Android的媒体存储API,如`MediaStore`,以便更好地处理文件在内外部存储之间的迁移。 ### 结论 Android的内部存储为应用提供了一个私密且安全的空间来保存文件。开发者应当熟悉内部存储的使用方法和最佳实践,以便能够高效且安全地管理应用数据。通过合理的文件管理策略,可以确保应用的性能,并提升用户体验。
recommend-type

【实时监控与定时任务】:Postman监控器的终极指南

# 1. Postman监控器概念与实时监控基础 在本章中,我们将首先介绍Postman监控器的基本概念及其在实时监控中的重要性。Postman监控器作为一种API监控工具,它能够帮助开发人员和运维团队实时地跟踪和分析API接口的性能表现,确保应用的稳定性和可靠性。我们会探讨监控器的核心功能,如数据收集、分析、警报机制等,并且为读者建立一个理解监控器如何工作的基础知识架构。 Pos
recommend-type

递归二路归并排序代码

<think>好的,我需要帮助用户获取递归二路归并排序的完整代码实现,并且输出前三轮的排序结果。首先,我得回忆一下归并排序的基本原理。归并排序采用分治策略,将数组分成两半,分别递归排序,然后合并两个有序的子数组。用户需要Python、Java和C++的代码,所以我要为这三种语言分别编写实现。接下来,我需要确保代码正确。归并排序的关键在于merge函数和递归的sort函数。对于递归实现,基准情况是当子数组长度小于等于1时返回。然后,找到中间点,递归排序左半部分和右半部分,最后合并。要注意数组索引的处理,避免越界。然后,用户要求输出前三轮的排序结果。这里可能需要添加打印语句来跟踪每一轮的排序情况。
recommend-type

C#新手入门:操作注册表的源码解析

从给定文件信息中,我们可以提取出相关的知识点主要围绕在C#编程语言操作Windows注册表的方法。以下是对这些知识点的详细解释: ### C#操作注册表的源码基础 #### 1. 注册表在Windows系统中的作用 注册表是Windows操作系统中的一个数据库,用于存储配置信息。它记录了操作系统、应用程序、用户配置等设置,这些设置可能包括软件安装信息、系统硬件信息、用户界面个性化设置等。 #### 2. C#操作注册表的重要性 掌握C#对注册表的操作对于软件开发人员来说非常重要,尤其是在需要对系统进行配置时。通过修改注册表,程序可以实现自启动、修改系统设置、管理服务等高级功能。但是操作注册表需要谨慎,因为错误的修改可能会导致系统不稳定甚至无法启动。 #### 3. .NET框架中的Registry类 在.NET框架中,操作注册表主要通过`Microsoft.Win32`命名空间下的`Registry`类来实现。该类为访问注册表中的关键目录提供了静态属性和方法。例如: - `Registry.CurrentUser`:当前用户的配置信息。 - `Registry.LocalMachine`:本地计算机的配置信息。 - `Registry.ClassesRoot`:文件类型和OLE信息。 - `Registry.Users`:所有用户配置信息。 #### 4. 操作注册表的关键方法 操作注册表主要涉及创建、读取、修改和删除注册表项或值。在C#中,主要通过以下方法实现: - `GetValue`:获取指定键的值。 - `SetValue`:设置指定键的值。 - `DeleteValue`:删除指定键的值。 - `CreateSubKey`:创建一个新的子键。 - `OpenSubKey`:打开一个已存在的子键。 - `DeleteSubKey`:删除一个子键及其所有子项。 - `DeleteSubKeyTree`:递归删除子键及其所有子项。 #### 5. C#源码分析 在提供的文件中,应该包含了一些操作注册表的示例代码,这些代码对于初学者来说是很好的学习材料。从文件标题和描述来看,源码应该简单易懂,适合初学者理解和模仿。 #### 6. 使用示例 以下是使用C#操作注册表的一个简单示例,用于理解如何操作注册表: ```csharp using System; using Microsoft.Win32; class Program { static void Main() { // 打开HKEY_CURRENT_USER\Software键 using (RegistryKey rk = Registry.CurrentUser.OpenSubKey("Software", true)) { // 创建一个子键 RegistryKey rkSub = rk.CreateSubKey("MyApplication"); rkSub.SetValue("MyValue", "Hello World"); // 设置一个值 // 读取设置的值 string value = rkSub.GetValue("MyValue").ToString(); Console.WriteLine("Value: {0}", value); rkSub.Close(); // 关闭子键 } } } ``` #### 7. 注意事项 操作注册表时需要具有足够的权限,否则可能无法进行某些操作。此外,错误的操作可能导致系统不稳定,因此建议在进行注册表操作之前备份注册表,并在测试环境中进行。 #### 8. 学习资源 对于初学者来说,有许多优秀的资源可以帮助学习如何使用C#操作注册表,包括在线教程、官方文档和社区论坛。通过这些资源的学习,可以加深理解并熟练掌握这项技能。 ### 结语 初学者在学习C#操作注册表时,应该从简单的操作入手,逐步深入理解注册表的结构和操作的逻辑。同时,应不断实践和尝试,通过实际案例加深理解。务必注意备份重要数据,避免因操作失误造成不必要的损失。通过不断的学习和实践,初学者可以逐步成长为能够熟练操作注册表的高级开发者。
recommend-type

【动态请求参数化】:掌握Postman数据文件与变量的高级用法

# 1. 动态请求参数化的基础概念 在现代软件开发流程中,动态请求参数化是自动化API测试中不可或缺的一环,它允许测试人员构建灵活且可重复使用的测试脚本。本章将带领读者深入了解参数化的基本概念,掌握如何在测试中有效地应用这些概念以提升测试脚本的灵活性和可维护性。 ## 什么是动态请求参数化? 动态请求参数化是指在自动化测试中,使用变量来代替硬编码的值。这些