Files
test/VsCode.txt
2025-08-05 11:50:18 +08:00

32 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

工具: 192.168.0.135 /opt/software
---------------------------------------------------------
(1) 安装 jdk 17、VsCode、Git, 检查java版本和git版本
(2) 设置中文 (安装Chinese[中英文切换: 使用快捷键 Ctrl+Shift+P选择] “Config Display Language"
单击不打开文件: Workbench List: Open Mode, 修改为doubleclick
(3) mvn 设置:
(1) 设置mvn执行文件: 设置->搜索->设置->搜索->maven.executable.path填写"Exexutable Path",例如:D:\Java\Maven\3.9.8\bin\mvn.cmd
(2) 设置settings.xml: 设置->搜索->Java > Configuration > Maven: User Settings, 填写: Global Settings", 例如: D:\\Java\Maven\\3.9.8\conf\\settings.xml
(4) VSCpde 安装插件:
Language Support for Java(TM) By Red Hat (Red Hat)
Extension Pack for Java (Microsoft)
Spring Boot Extension Pack(VMware)
测试: Ctrl+Shift+P Spring Initializr: Create a Maven Project并运行
-----------------------------------------------------------
(1) 本地新建工作目录, 例如 D:\Workspace
(2) VSCode 打开目录另存工作区到D:\Workspace自己重命名
(3) 登录 scc.moofen.net修改密码
(4) 从Git Clone项目到本地
git clone -> 选择目录D:\Workspace -> 添加到工作区
---------------------------------------------------------
(1) 返回页面报错
后服务器运行报错:Error resolving template [/index], template might not exist or might not be accessible by any of the configured Template Resolvers
return "/index"; // 前面的斜杠可能导致问题 ==> return "index";