08 2021 档案
摘要:问题描述 pageContext变量idea不能解析,提示错误,但能正常使用 解决方案 修改maven即可。 在pom中添加 <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> <version
阅读全文
摘要:问题描述: tomcat 启动 startup.bat 出现闪退 解决方案: 一般都是因为Java环境变量没有配好 win搜索环境变量打开,点击环境变量进入编辑界面 在系统变量中添加如下值: 变量值为Java安装目录/,不要再往后了 部分电脑可能需要重启下
阅读全文
摘要:直接用linux mplayer是很简单的。 没有声音,可以后期加上去。 所需环境: Linux 我的环境:Ubuntu 20(WSL2) 操作步骤: apt update apt install -y mplayer mplayer -really-quiet -vo caca 无限列车.mp4
阅读全文
摘要:IP try { InetAddress ia = InetAddress.getByName("www.baidu.com"); InetAddress myHost = InetAddress.getLocalHost(); System.out.println(myHost); // 连带主机
阅读全文