毕业后 (玩)了5个月的工作
终于在本地的药企找到一份工作,成为了光荣的软件工程师助理,主管告诉我要开发钉钉小程序给企业人事用。
入职前几天,出于预习技能的想法,去了一下钉钉官网,尝试开发钉钉小程序。

钉钉小程序要安装git,但我电脑上没有,没问题,整起!


点了好几次没有反应
关闭了浏览器的弹窗拦截、允许了JS插件、关闭了重定向拦截、关闭了电脑的第三方防火墙,一直提示err_connection_reset

最后复制了下载链接用迅雷下载,迅雷yyds
终于安装完钉钉小程序开发环境
于是,一个并不 愉快的下午结束了!

坑1:
根据官方文档教程,下载后端demo后,发现idea上运行不了

"C:\Program Files\Java\jdk-11.0.13\bin\java.exe" -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.3\lib\idea_rt.jar=54500:C:\Program Files\JetBrains\IntelliJ IDEA 2021.2.3\bin" -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath E:\gitDeport\download\eapp-corp-quick-start-java\target\classes;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-starter\1.4.2.RELEASE\spring-boot-starter-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot\1.4.2.RELEASE\spring-boot-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\spring-context\4.3.4.RELEASE\spring-context-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\1.4.2.RELEASE\spring-boot-autoconfigure-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-starter-logging\1.4.2.RELEASE\spring-boot-starter-logging-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\ch\qos\logback\logback-classic\1.1.7\logback-classic-1.1.7.jar;C:\Users\USER\.m2\repository\ch\qos\logback\logback-core\1.1.7\logback-core-1.1.7.jar;C:\Users\USER\.m2\repository\org\slf4j\jcl-over-slf4j\1.7.21\jcl-over-slf4j-1.7.21.jar;C:\Users\USER\.m2\repository\org\slf4j\jul-to-slf4j\1.7.21\jul-to-slf4j-1.7.21.jar;C:\Users\USER\.m2\repository\org\slf4j\log4j-over-slf4j\1.7.21\log4j-over-slf4j-1.7.21.jar;C:\Users\USER\.m2\repository\org\springframework\spring-core\4.3.4.RELEASE\spring-core-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\yaml\snakeyaml\1.17\snakeyaml-1.17.jar;C:\Users\USER\.m2\repository\org\slf4j\slf4j-api\1.7.21\slf4j-api-1.7.21.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-starter-web\1.4.2.RELEASE\spring-boot-starter-web-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\1.4.2.RELEASE\spring-boot-starter-tomcat-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.6\tomcat-embed-core-8.5.6.jar;C:\Users\USER\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.6\tomcat-embed-el-8.5.6.jar;C:\Users\USER\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.6\tomcat-embed-websocket-8.5.6.jar;C:\Users\USER\.m2\repository\org\hibernate\hibernate-validator\5.2.4.Final\hibernate-validator-5.2.4.Final.jar;C:\Users\USER\.m2\repository\javax\validation\validation-api\1.1.0.Final\validation-api-1.1.0.Final.jar;C:\Users\USER\.m2\repository\org\jboss\logging\jboss-logging\3.3.0.Final\jboss-logging-3.3.0.Final.jar;C:\Users\USER\.m2\repository\com\fasterxml\classmate\1.3.3\classmate-1.3.3.jar;C:\Users\USER\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.8.4\jackson-databind-2.8.4.jar;C:\Users\USER\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.8.4\jackson-annotations-2.8.4.jar;C:\Users\USER\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.8.4\jackson-core-2.8.4.jar;C:\Users\USER\.m2\repository\org\springframework\spring-web\4.3.4.RELEASE\spring-web-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\spring-aop\4.3.4.RELEASE\spring-aop-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\spring-beans\4.3.4.RELEASE\spring-beans-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\spring-webmvc\4.3.4.RELEASE\spring-webmvc-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\spring-expression\4.3.4.RELEASE\spring-expression-4.3.4.RELEASE.jar;C:\Users\USER\.m2\repository\org\springframework\boot\spring-boot-devtools\1.4.2.RELEASE\spring-boot-devtools-1.4.2.RELEASE.jar;C:\Users\USER\.m2\repository\org\apache\httpcomponents\httpclient\4.5.1\httpclient-4.5.1.jar;C:\Users\USER\.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;C:\Users\USER\.m2\repository\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;C:\Users\USER\.m2\repository\org\apache\httpcomponents\httpmime\4.3.5\httpmime-4.3.5.jar;C:\Users\USER\.m2\repository\commons-io\commons-io\2.4\commons-io-2.4.jar;E:\gitDeport\download\eapp-corp-quick-start-java\lib\top-api-sdk-dev-ding-open-mc-20180719.091043-1.jar;E:\gitDeport\download\eapp-corp-quick-start-java\lib\lippi-oapi-encrpt.jar;C:\Users\USER\.m2\repository\com\alibaba\fastjson\1.2.6\fastjson-1.2.6.jar com.Application
Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls(DefaultRestartInitializer.java:93)at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getInitialUrls(DefaultRestartInitializer.java:56)at org.springframework.boot.devtools.restart.Restarter.<init>(Restarter.java:137)at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:528)at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartedEvent(RestartApplicationListener.java:68)at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:45)at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:63)at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48)at org.springframework.boot.SpringApplication.run(SpringApplication.java:304)at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)at com.Application.main(Application.java:13)进程已结束,退出代码为 1

原因:JDK版本太高,项目结构SDK改成8.0,语言级别改成8
改好后IDEA上可以跑了

坑2:
根据官方文档教程,本地运行打包好的jar包,发现运行不了
报错

排查中。。。。要不是得打工,我才不侍候你这破钉钉

坑3:同样是小程序,有两个下载链接


咋办捏。。。随便挑一个吧!

不知道后面还有什么奇奇怪怪的坑,自学springboot去了。

钉钉小程序bug日记相关推荐

  1. 钉钉/支付宝小程序自定义组件

    钉钉/支付宝小程序自定义组件 1.新建自定义文件夹 eg:model 2.鼠标选中model 右键>新建小程序组件 输入测试组件:demo 3.新建小程序组件包含四个文件: 1.acss:组件页 ...

  2. 小程序分享到朋友圈功能_小程序开发日记 分享到朋友圈

    贵州 水司楼 图片来自 视频截图 最近微信小程序开始公测小程序分享到朋友圈的功能了.记得前两天刚开始内测时,小程序社区里就不断有人发帖问关于分享到朋友圈的各种问题.很显然大家对这个新特性都特别关心.那 ...

  3. Linux 小程序开发日记(终章)(pyqt+yolov5)

    Linux 小程序开发日记(终章) 哈喽大家好,我是爱喝欢乐水的柳橙汁,这一篇,是最后一篇啦.我会将所有个过程都梳理一遍. 关于代码的详细注释,大家就参考一下之前的笔记吧.这一篇博客我就放上我精简的代 ...

  4. linux桌面小程序开发日记3(pyqt5+yolov5)

    linux桌面小程序开发日记3 vm虚拟机配置yolov5环境(Ubuntu 18.04) 最后一篇博客地址:https://blog.csdn.net/Liuchengzhizhi/article/ ...

  5. 微信小程序 bug 集中营

    微信小程序 bug 集中营 create by jsliang on 2018-9-17 17:58:56 Recently revised in 2018-10-18 09:38:15  Hello ...

  6. 【工作小tip】uni-app无法运行到微信开发者工具、三层渐变色、小程序bug:ReferenceError: regeneratorRuntime is not defined

    uni-app无法运行到微信开发者工具 需要配置微信开发者工具,打开服务端口 微信小程序==>设置==>安全==> 开启接口 如果还不行 就去manifest.json文件去掉微信小 ...

  7. 钉钉微信小程序reLaunch和navigateTo,navigateTo的区别

    wx.navigateTo 用于保留当前页面.跳转到应用内的某个页面,使用 wx.navigateBack可以返回到原页面.对于页面不是特别多的小程序,通常推荐使用 wx.navigateTo进行跳转 ...

  8. 微信小程序bug记录

    1.bug--开启下拉刷新不能自动回弹 说明:微信小程序开启下拉刷新后,开发者工具上可以自动回弹,android上不能回弹,基础库2.9.4 解决:在onPullDownRefresh监听函数中动态关 ...

  9. 微信小程序bug总结

    上传文件, 回应的json需要手动JSON.parse wx.hideLoading();看起来是个同步的api, 不过有时需要异步调用, 如: setTimeout(() => {wx.hid ...

最新文章

  1. java.lang.NoSuchMethodError: org.springframework.web.context.support.XmlWebApplicationContext.getEnv
  2. java删除jtable一行的值_JTable中删除一行数据
  3. 【转】Usage of sendBroadcast()
  4. Average Score39届亚洲赛牡丹江站A题
  5. 【转】线段树题目 汇总 讲解(by not only success)
  6. 在机器学习中,ground truth是什么意思?
  7. Pytorch——搭建深度神经网络的基本流程
  8. SoapUI Pro Project Solution Collection-DataSource(jdbc,excel)
  9. python之random.shuffle
  10. mybatis中Mapper映射
  11. 几种常用网页返回顶部的代码
  12. 编写matlab程序设计状态反馈增益阵,利用MATLAB设计状态观测器.pdf
  13. docker exec详解
  14. Final SwfPlayer下载后在安卓12上玩宇宙的刻度2
  15. autojs网络验证,权朗网络验证源码
  16. C\C++中计时、延时函数
  17. 家族关系查询系统程序设计算法思路_数据结构课程设计方案(家族关系查询系统)...
  18. java中transient关键字使用学习
  19. 队列Q_via牛客网
  20. wordpress创建_如何在WordPress中轻松创建优惠券网站

热门文章

  1. 照片换背景底色怎么换?照片底色如何更换?
  2. c语言求20以内的质数,c语言求出给定范围内的所有质数
  3. 【SLAM】牛津大学 The Newer College Dataset下载分享
  4. hdmi网线延长器_超好用的 HDMI 150米单网线延长器
  5. 在VS中使用万能头文件#include bits/stdc++.h编译错误的解决方法
  6. VMware创建Ubuntu16.04.4虚拟机(内附Ubuntu16.04.4下载传送门)
  7. 计算机二级VEP考试内容,计算机二级VEP考点
  8. verilog_边学边练习(5) 秒计数器(时序逻辑电路)
  9. 2019“欢乐春节·魅力中国”为洛杉矶增添“中国年味儿”
  10. 网传TSC3200颜色传感器代码的补充