51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#Web
tomcat java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []
1.情景展示 springboot项目打成的war包,在使用spring自带的tomcat启动可以正常运行,但是,将项目打包到外置tomcat中就启动失败,结果如下: java.lang.IllegalStateException:Illegalaccess:thiswebapplicationinst...
代码星球
·
2021-02-14
tomcat
java.lang.IllegalStateException
Illegal
access
this
windows 排查javaWeb程序占用CPU过高问题(可追踪到问题代码所在行)
1.情景展示 java虚拟机占用这么高的CPU,肯定不正常! 2.原因分析 第一个是tomcat,正在运行java项目; 第二个是eclipse,因为eclipse的运行依赖于java。 现在的问题是:tomcat的CPU使用率达到了90%,单独运行tomcat是不可能占用这么多CPU的,所以,问...
代码星球
·
2021-02-14
问题
windows
排查
javaWeb
程序
javaWeb如何转发数据,jsp页面如何接收?
1.情景展示 现在有一个需求就是:请求达到服务器后,服务器需要将请求的数据传给另一个页面,如何实现? 2.目标分析 通过服务器跳转到页面上,有两种实现方式:一种是转发,一种是重定向。 我们知道转发可以携带数据,而重定向无法携带数据,所以,要想携带数据跳转页面,必须通过转发实现。 ...
代码星球
·
2021-02-14
如何
javaWeb
转发
数据
jsp
javaWeb项目配置自定义404错误页
1.情景展示 为了隐藏tomcat版本信息以及显示更友好的错误信息提示,如何将404的错误跳转到指定页面?2.解决方案 第一步:修改项目的web.xml 将如下代码添加到</web-app>结束标签前:<error-page><!--错误代码--&...
代码星球
·
2021-02-14
javaWeb
项目
配置
自定义
错误
exception The absolute uri: [http://java.sun.com/jsp/jstl/core] cannot be resolved in either web.xml or the jar files deployed with this application
1.情景展示 eclipse,运行web项目时,报错信息如下: Theabsoluteuri:[http://java.sun.com/jsp/jstl/core]cannotberesolvedineitherweb.xmlorthejarfilesdeployedwiththisappl...
代码星球
·
2021-02-14
exception
The
absolute
uri
http
.NET Core webapi 允许put请求方式配置文件
<?xmlversion="1.0"encoding="utf-8"?><configuration><locationpath="."inheritInChildApplications="false"><system.webServer><modules>...
代码星球
·
2021-02-14
.NET
Core
webapi
允许
put
.NET Core webapi 发布到IIS配置文件
1.下载安装文件vc_redist.x64AspNetCore.2.0.6.RuntimePackageStore_x64DotNetCore.2.0.5-WindowsHostingdotnet-sdk-2.1.101-win-x64.exe 2.检查IIS是否包含AspNetCoreModul...
代码星球
·
2021-02-14
.NET
Core
webapi
发布
IIS
selenium webdriver报错 ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
昨天跑的好好的代码,今天突然报错:ConnectionResetError:[WinError10054]远程主机强迫关闭了一个现有的连接。调查一下,原来是Chrome自动升级,而chromedriver没有更新的原因,手动更新到对应版本就好了。...
代码星球
·
2021-02-14
selenium
webdriver
报错
ConnectionResetError
WinError
webdriver保存验证码截图
element=wait.until(EC.visibility_of_element_located((By.CSS_SELECTOR,'.quc-main.quc-field-captchaimg'))) #等待验证码加载完毕browser.save_screenshot('screenshot.png'...
代码星球
·
2021-02-14
webdriver
保存
验证
截图
webdriver.chrome()禁止加载图片
fromseleniumimportwebdriverchrome_options=webdriver.ChromeOptions()prefs={"profile.managed_default_content_settings.images":2}chrome_options.add_experimental_op...
代码星球
·
2021-02-14
webdriver.chrome
禁止
加载
图片
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
fromseleniumimportwebdriverbrowser=webdriver.Chrome()browser.get('http://www.baidu.com')运行报错:selenium.common.exceptions.WebDriverException:Message:'chromedriver...
代码星球
·
2021-02-14
selenium.common.exceptions.WebDriverException
Message
#39chromedriver
executable
needs
Vue工程模板文件 webpack打包
1、githubgithub地址:https://github.com/MengFangui/VueProjectTemplate 2、webpack配置(1)基础配置webpack.base.config.js constpath=require('path');//处理共用、通用的jsconst...
代码星球
·
2021-02-14
Vue
工程
模板
文件
webpack
Vue webpack配置文件
一、代码地址github:https://github.com/MengFangui/VueWebpackConfig 二、配置说明1、命令(1)npmi安装依赖包(2)numrundev发布调试环境(3)npmrunbulid发布线上环境 2、功能(1)处理vue文件(2)处理js文件(3)ES6...
代码星球
·
2021-02-14
Vue
webpack
配置文件
webpack 实用配置总结
1、webpack.config.js配置文件为://处理共用、通用的jsvarwebpack=require('webpack');//处理html模板varhtmlWebpackPlugin=require('html-webpack-plugin');//css单独打包varExtractTextPlugin=r...
代码星球
·
2021-02-14
webpack
实用
配置
总结
webpack css打包为一个css
1、安装npminstallextract-text-webpack-plugin--save-dev 2、项目目录:index文件夹下的index.css:body{background-color:#ccc;}.flex-div{display:flex;}index文件夹下的index2.css:p{t...
代码星球
·
2021-02-14
css
webpack
打包
一个
首页
上一页
...
18
19
20
21
22
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他