Easter79 Easter79
4年前
vue cli创建项目失败
最近使用vuecli创建项目时总是失败,在此分享一下我的解决办法,简单粗暴:npmuninstallgvueclinpmuninstallg@vue/clinpmcachecleanforcenpminstallg@vue/cli如果这些操作之后还是不行的话,找到
Easter79 Easter79
4年前
springboot集成druid连接池不支持批量更新
原因:Druid的防火墙配置(WallConfig)中变量multiStatementAllow默认为false;解决方案:设置Druid的防火墙配置(WallConfig)中变量multiStatementAllowtrue,新建DruidDataSource配置类配置类代码:@Configurationpubliccla
桃浪十七丶 桃浪十七丶
4年前
SSM项目中遇到Could not autowire. No beans of ‘XXX‘ type found.错误
写代码时候遇到了这个问题Couldnotautowire.NobeansofHeadLineService'typefound.提示这个错误,是因为在Service的实现类HeadLineServiceImpl中忘记在类的头部加注解@Service解决如下图。
Stella981 Stella981
4年前
OPENCV3 命名空间等变化
CV\_VERSION表示的opencv的版本号命名空间变化: 可以通过增加include<cv.h解决  1直接去掉CV\_前缀          1)nameWindow函数  CV\_WINDOW\_AUTOSIZE直接变成 WINDOW\_AUTOSIZE         
Stella981 Stella981
4年前
Django2中基于正则表达式的URL
学习Django时遇到正则表达式浏览器一直显示页面不存在解决办法url.pyfromdjango.contribimportadminfromapp1importviewsfromdjango.urlsimportre_path,pathfromdjango.conf.urlsimporturlurlp
Stella981 Stella981
4年前
Python spyder Ipython console 连接失败问题
启动spyder之后,Ipythonconsole 中ConnectingtoKernel,出现错误,一直在连接,但是连接不上,ResetSpyderSettings也解决不了问题。Traceback(mostrecentcalllast):File"F:\Anaconda_pakage\lib\runpy.p
Stella981 Stella981
4年前
Playframework项目启动后自动停止问题记录
问题描述:Playframework项目activatorstart启动后会自动停止解决步骤:1.在conf/application.conf文件添加:application.secret"staging"2.启动是使用签名:activatorstart Dapplication.secret"staging"
Stella981 Stella981
4年前
Python Xpath 提取html整个元素(标签与内容)
提取html某标签中文字时,文字中含有:“<sub2</subO<sub5</sub”,导致提取的文字不符合预期。解决方法:codingutf8fromlxmlimportetreefromHTMLParserimportHTMLParserhtmlu'''<h
Stella981 Stella981
4年前
ContextLoaderListener ClassNotFoundException
在初学使用maven构建javaWeb的项目的时候,启动tomcat加载时,总是提示如下错误,辛苦一番终于找到解决办法。严重:Errorconfiguringapplicationlistenerofclassorg.springframework.web.context.ContextLoaderListenerJava(https://
埋点日志最终解决方案——Golang+Gin+Sarama VS Java+SpringWebFlux+ReactorKafka
埋点日志最终解决方案——GolangGinSaramaVSJavaSpringWebFluxReactorKafka之前我就写过几篇OpenRestyluakafkaclient将埋点数据写入Kafka的文章,如下:以上一步一个坑,有些是自己能力