#Sta

mysql错误:The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement解决方法

Mysql关系型数据库管理系统MySQL是一个开放源码的小型关联式数据库管理系统,开发者为瑞典MySQLAB公司。MySQL被广泛地应用在Internet上的中小型网站中。由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,许多中小型网站为了降低网站总体拥有成本而选择了MySQL作为网站数据库。本文为大家讲解...

使用netstat命令查看端口的使用情况

netstat命令查看本地的端口被占用的情况Windows如何查看端口占用情况操作步骤如下:开始--运行--cmd进入命令提示符,输入netstat-ano即可看到所有连接的PID之后在任务管理器中找到这个PID所对应的程序如果任务管理器中没有PID这一项,可以在任务管理器中选"查看"-"选择列"。经常,在启动应用的时...

java.lang.IllegalStateException: You need to use a theme.appcompat theme (or descendant) with this activity

错误描述:java.lang.IllegalStateException:Youneedtouseatheme.appcompattheme(ordescendant)withthisactivity产生原因:Activity继承自AppCompatActivity,在style.xml中使用了不兼容的Theme。从错...

Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW _TASK flag.

在Activity中使用startActivity()方法不会有任何限制,因为Activity重载了Context的startActivity()方法。但是如果是在其他地方(如Widget或Service、BroadcastReceiver中)使用startActivity()方法,就会报错:android.util....

org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403

爬取网站的时候 conn=Jsoup.connect(url).timeout(5000).get();直接用get方法,有些网站可以正常爬取。但是有些网站报403错误,403是一种在网站访问的过程中,常见的错误提示。表示资源不可用,服务器理解客户对的请求,但是拒绝处理它,通常由服务器上文件或者目录的权限设置...

netstat 1

 lsof-i :8086    第二个参数需要:开头 netstatlinux -a(all)显示所有选项,默认不显示LISTEN相关  理解这个很关键,这是为什么我们netstat-a不显示listen相关的信息-t(tcp)仅显示tcp相关选项-u(udp)仅显示udp相关...
代码星球 代码星球·2020-04-06

完美解决: org.apache.ibatis.binding.BindingException Invalid bound statement (not found)

异常描述:org.apache.ibatis.binding.BindingException:Invalidboundstatement(notfound)原因:springboot整合mybatis,在编译时,如果不添加此节点mybatis的mapper.xml文件都会被漏掉,即只会生成mapper对应的class...

Cannot start compilation: the output path is not specified for module "salesystem". Specify the output path in Configure Project.

错误是发生在从github上checkout自己的项目时。因为没有将配置文件一起上传,所以在运行java程序时有了这个报错:Cannotstartcompilation:theoutputpathisnotspecifiedformodule“Test”.Specifytheoutputpath...

项目启动报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.wuhongyu.mapper.OrdersMapper.selectByExample

在用maven配置mybatis环境时出现此BindingExceptiony异常,发现在classes文件下没有mapper配置文件,应该是maven项目没有扫描到mapper包下的xml文件, 在pom.xml中加入一下代码可以解决:<build><resources><!-...

org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19

启动项目报错:org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19原因是tomcat的版本太低了,改成9就可...

Timestamp 数据类型四舍五入引起的神奇bug

 神奇bug, Timestamp会四舍五入也会引起bug.. StringUUID=java.util.UUID.randomUUID().toString();longtime=System.currentTimeMillis()+30*60*1000;TimestampoutDate...

spring boot 之 错误:SpelEvaluationException: EL1008E: Property or field 'timestamp' cannot be found on object of type 'java.util.HashMap'

这个错误我也见过很多次了,今天终于理解了其出现的原因。错误是这样的:2017-11-2318:05:39.504ERROR4092---[nio-8080-exec-3]o.a.c.c.C.[Tomcat].[localhost]:ExceptionProcessingErrorPage[errorCode=0,loc...

mysqld服务启动失败, Failed to restart mysqld.service: Unit not found.

-bash-4.2#servicemysqldrestartRedirectingto/bin/systemctlrestartmysqld.serviceFailedtorestartmysqld.service:Unitnotfound. 并不存在 mysqld的服务,-bash-4.2#-ba...

netstat

 netstat再解读C:UsersAdministrator>netstat-nb活动连接协议本地地址外部地址状态TCP127.0.0.1:3306127.0.0.1:4112ESTABLISHED[mysqld.exe]TCP127.0.0.1:3306127.0.0.1:4113ESTABLISH...
代码星球 代码星球·2020-04-06

org.artofsolving.jodconverter.office.OfficeException: failed to start and connect

 org.artofsolving.jodconverter.office.OfficeException:failedtostartandconnect docviewer调用openoffice,启动失败,检查好像是 openoffice没注册。 cd D:Prog...
首页上一页...460461462463464...下一页尾页