#was

Mysql Specified key was too long; max key length is 767 bytes

今天导入一个数据库时,看到以下报错信息:Specifiedkeywastoolong;maxkeylengthis767bytes直译就是索引键太长,最大为767字节。查看sql库表文件,发现有一列定义如下:列 名:contact列属性:varchar列长度:1024接下来,定义该列为索引。解决办法:我的办法...
代码星球 ·2021-01-22

java错误:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build

我们在用Eclipse进行Javaweb开发时,可能会出现这样的错误:Thesuperclassjavax.servlet.http.HttpServletwasnotfoundontheJavaBuildPath。我们该怎么解决这个问题呢?我们遇到的错误显示如下:我们右击有错误提示的文件夹,如下:我们点击”配置构建路...

使用Sass报错Invalid CSS after ".nickname{": expected "}", was "{"

安装sass使用所需要的依赖npmisass-loadernode-sass--save-dev在项目中使用<stylelang="scss"scoped></style>注意这里是lang="scss"不是"sass"...

Chrome 控制台报错Unchecked runtime.lastError: The message port closed before a response was received

  Chrome浏览器控制台报错提示  Uncheckedruntime.lastError:Themessageportclosedbeforearesponsewasreceived                UncaughtTypeError:Cannotreadproperty...

app:showAsAction 和android:showAsAction

app:showAsAction它有三个可选项1.always:总是显示在界面上2.never:不显示在界面上,只让出现在右边的三个点中3.ifRoom:如果有位置才显示,不然就出现在右边的三个点中  android:showAsAction这个属性可接受的值有:1.alaways:这个值会使菜单项...
代码星球 ·2020-12-26

push to origin/master was rejected错误解决方案

idea中,发布项目到OSChina的Git中,当时按照这样的流程添加Git,然后push,提示:pushtoorigin/masterwarrejected"。解决方案如下:1.切换到自己项目所在的目录,右键选择GITBASHHere2.在terminl窗口中依次输入命令:gitpullgitpulloriginma...
代码星球 ·2020-12-15

解决报错:JPA-style positional param was not an integral ordinal;

org.hibernate.QueryException:JPA-stylepositionalparamwasnotanintegralordinal;nestedexceptionisjava.lang.IllegalArgumentException:org.hibernate.QueryException:JP...

Exe4j 打包: this executable was created with an evaluation version of exe4j

异常thisexecutablewascreatedwithanevaluationversionofexe4j 异常.png问题原因当前打包使用exe4j未授权解决方法在欢迎页面点击EnterLicense输入激活码(L-g782dn2d-1f1yqxx1rv1sqd) 作者:_凌浩雨链接:htt...

[转发]ASP.NET Core2集成Office Online Server(OWAS)实现办公文档的在线预览与编辑(支持wordexcelpptpdf等格式)

转载自:https://www.cnblogs.com/Andre/p/9549874.htmlOfficeOnlineServer是微软开发的一套基于Office实现在线文档预览编辑的技术框架(支持当前主流的浏览器,且浏览器上无需安装任何插件,支持word、excel、ppt、pdf等文档格式),其客户端通过WebA...

Unchecked runtime.lastError: The message port closed before a response was received.

 这是由于某个 Chrome 扩展程序造成的。打开 chrome://extensions/,逐一关闭排查。我这边是由于“迅雷下载支持”这个扩展引起的,将其关闭即可。...

eclipse中,项目有红叉之- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

1.Thesuperclass"javax.servlet.http.HttpServlet"wasnotfoundontheJavaBuildPath2.原因:确实servlet-api.jar3.导入servlet-api.jar,其中一种方法:项目右击->build path->config...

AM org.apache.catalina.realm.LockOutRealm authenticate WARNING: An attempt was made to authenticate the locked user "tomcat"

原因:你的应用加了身份认证,有人试图用tomcat用户登陆你的应用,密码输入错误5次或者5次以上(缺省是5次),就会在日志中记录警告信息,并锁定并禁止该用户的进一步登陆。以提醒你可能有人恶意猜测你的管理员密码。是tomcat为了阻止brute-force攻击(基于密码加密的暴力破解法)的安全策略。...

Kubernetes-kubectl The connection to the server localhost:8080 was refused -did you specify

今天在Kubernetes的从节点上运行命令【kubectl】出现了如下错误:[root@k8snode1kubernetes]#kubectlgetpodTheconnectiontotheserverlocalhost:8080wasrefused-didyouspecifytherighthostorport?出...

(知道因为下载数据库错误,而导致解压失败,但是找不到下载到哪里了呀!原来在这里)EOFError: Compressed file ended before the end-of-stream marker was reached

把下载好的数据放在这里就行了       背景:运行LeNet识别CIFAR-10的图像的代码时,报错:   EOFError:Compressedfileendedbeforetheend-of-streammarke...

eclipse配置Tomcat The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

  我们在使用Ecplise开发javaweb时,可能会报错误:Thesuperclass"javax.servlet.http.HttpServlet"wasnotfoundontheJavaBuild Path   项目中找不到Tomcat运行时相关类方法一  指定Tomcat版本后,让Ecpl...
首页上一页...910111213...下一页尾页