![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发
cpp_lzth
这个作者很懒,什么都没留下…
展开
-
eption: class path resource [mybatis/mybatis-config.xml] cannot be opened because it does not exis
boot项目找不到配文问题:重新clean,在启动。原创 2021-11-16 10:59:29 · 1089 阅读 · 0 评论 -
idea创建webservice服务端
怎么建网上很多,但是未必运行成功。需要把web.xml加上才行。如下:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="WebApp" version="2.5" xsi:schemaLocation="http://java.s原创 2021-05-31 14:32:37 · 386 阅读 · 0 评论 -
idea打开之前工程
File-->Open Recent 即可原创 2021-05-28 10:36:54 · 4356 阅读 · 0 评论 -
src下各个包及里面的文件的作用
<br />如子模块的包名为user,则其包括如下子包:<br /><br />1、action包<br />该包放置各种struts的action。<br />命名规则:xxxUserAction.java<br /><br />2、dao包<br />该包属于持久层,主要存放对“数据库底层”进行操作的类 <br />(1)PO(user.dao中)<br />该包放置各类dao(data access object),也就是放置对数据库访问的实现类(POJO),在用myeclipse中的“Hibern原创 2010-06-11 10:48:00 · 14916 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
springboot项目,用的oracle11.2.0.1.0,驱动报错。解决方法:1 pom中:<dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>11.2.0.1.0</version></dependency>2 自己下载ojdbc6.jar,阿里中央仓库原创 2020-12-16 13:21:44 · 575 阅读 · 0 评论 -
.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getHttpServletMapping()Ljavax
错误提示:springboot打包时报错.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getHttpServletMapping()Ljavax解决方法:将2.4.0版本将到2.11.0,重新编译打包正常。原创 2020-12-07 18:26:06 · 633 阅读 · 0 评论 -
报错: This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver‘
报错:com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.改成这样:将com.mysql.jdbc.Drive..原创 2020-11-22 13:31:12 · 4101 阅读 · 0 评论 -
idea 打war包
1、File-->Project Structure-->Artifacts2、点击加号 Web Application Achieve-->选择需要打的war exploded3、工具栏 Build-->Build Aritifacts-->build4、目录下去搜打好的war包,很简单。...原创 2019-03-12 19:52:14 · 173 阅读 · 0 评论