02 2021 档案
摘要:浏览器控制台提示: Access to XMLHttpRequest at 'http://localhost:8001/eduservice/teacher/pageTeacherCondition/3' from origin 'http://localhost:9528' has been b
阅读全文
摘要:结构图: 步骤: 1、在需要扫描的类中添加注解@Configuration,例如: 2、在service模块pom.xml中配置service_base依赖,artifactId中是模块名 <dependency> <groupId>com.feng</groupId> <artifactId>se
阅读全文
摘要:在使用谷歌验证码jar包时,动态获取地址出错: 相关代码: head.jsp <% String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + re
阅读全文
摘要:错误提示: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2021-02-08 16:36:26.058 ERROR 2
阅读全文
摘要:在使用idea学习springboot的时候经常看见一片红 一直点maven刷新都不能下载相关依赖,对于新手来说感觉非常不友好,在网上找到一个setting.xml的配置,下载相关依赖非常快(感谢:小段-长沙) <?xml version="1.0" encoding="UTF-8"?> <sett
阅读全文
摘要:一、连接数据库的driver错误 1、提示: Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is au
阅读全文
摘要:ALTER TABLE tbl_emp ADD FOREIGN KEY(d_id) REFERENCES tbl_dept(dept_id) tbl_emp、tbl_dept为表名,d_id为tbl_emp的外键名,dept_id为tbl_dept的主键
阅读全文
摘要:可能出现问题的位置 1、新建maven工程时候packing选的不是war。 解决办法,在pom.xml中修改packing: <modelVersion>4.0.0</modelVersion> <groupId>com.fenga</groupId> <artifactId>ssm-crud</
阅读全文
摘要:一、查看eclipse的版本 help->about eclipse IDE 二、下载对应版本的插件 springsource-tool-suite 下载历史版本的方法 例如: http://download.springsource.com/release/TOOLS/update/3.9.9.R
阅读全文

浙公网安备 33010602011771号