logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

org.xml.sax.SAXParseException: Premature end of file

修复项目bug时控制台报这样的问题:什么org.xml.sax.SAXParseException: Premature end of file的问题??网上也查了些资料,虽然错误有,但是不一样解决的我的问题是:控制台报这个错误,Action类中debug调试找不到对应的方法。情景是列表中在基本操作列选择编辑,在编辑页面修改完,点击确定,页面就报如上的错public String set() th

问题org.springframework.security.web.firewall.RequestRejectedException: The request was rejected

如图:SpringBoot报错org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL was not normalized.解决方法:在启动类Application中配置一个Bean即可@Beanpublic HttpFirewall d

jquery多个标签绑定同一个事件

jQuery为多个元素绑定同一个事件的目的是当触发一个事件后,会同时影响多个元素,这样可以减少代码量,不用分开绑定事件了。如果想为多个元素绑定同一个事件,可以使用英文逗号将不同的元素隔开。下面是jQuery为多个元素绑定同一个事件的代码:$("#div1,#divN,xxxxxxx").click(function(){ });//在此示例中,具有类名“ p1 ”和“ p2 ”,id为“ div3

#前端
Intellij IDEA 中的 Debug 控制台输出窗口不见了的解决办法

Intellij IDEA 中的 Debug 控制台输出窗口不见了的解决办法

style=‘cursor:pointer‘

<tr><th data-field="detailId" onmousemove="hand(this)">标识</th></tr>js:function hand(tdObj){tdObj.style.cursor = "pointer";}style=“cursor:pointer” 是css的一种样式,作用是当鼠标移动到该单元格上时,鼠标会由

虚拟机CentOS7命令查看防火墙的状态以及开放端口

命令:systemctl status firewalld.service查看防火墙状态systemctl start firewalld.service开启防护墙systemctl stop firewalld.service关闭防火墙查看以及启动状态:关闭状态:查看已开放端口firewall-cmd --list-all防火墙开放端口:(开放端口后需重载防火墙)firewall-cmd --z

#linux
eureka报错:required a bean of type ‘com.netflix.discovery.AbstractDiscoveryClientOptionalArgs‘ that

报错问题:Description:Field optionalArgs in org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration required a bean of type 'com.netflix.discovery.Abstra

#java
eureka Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8761报错

错误问题:报错信息:连接http://localhost:8761/eureka 的注册中心被拒绝,无法连接改正后的两个配置文件:server:port: 8088eureka:instance:hostname: localhostclient:register-with-eureka: falsefetch-registry: falseservice-url:defaultZone: htt

#spring
在IDEA中使用druid连接池找不到dataSource的问题

使用maven管理依赖,也添加了druid的依赖,但就是报错Cannot find class [com.alibaba.druid.pool.DruidDataSource] for bean with name ‘dataSource’ defined in class path resource [config/spring.xml]; nested exception is java.l.

Uncaught (in promise) Error: Redirected when going from “/login?redirect=%2Fdashboard“ to “/“ via

详细错误如下:出错原因:vue-router路由版本更新产生的问题,导致路由跳转失败抛出该错误,但并不影响程序功能解决方案:方案1.使用编程式导航跳转时,每次使用,后面都跟上.catch方法,捕获错误信息this.$router.push(’/location’).catch(err => ())方案2.全局解决:替换路由的Push和replace方法,放在src/router/index.

#vue.js
    共 24 条
  • 1
  • 2
  • 3
  • 请选择