![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java入门小白
farAndgofar
这个作者很懒,什么都没留下…
展开
-
how2j自学仿天猫springboot版踩坑记录之建数据库-数据库关键字不能做表名
做该项目的第一天,开始建表,以下是我写的sql语句create table order( id int(11) not null auto_increment, orderCode varchar(255) default null, address varchar(255) default null, post varchar(255) default null, receive...原创 2019-12-27 13:58:07 · 265 阅读 · 0 评论 -
java 遍历时可修改的容器:CopyOnWriteArrayList
java 遍历时可修改的容器:CopyOnWriteArrayList// 遍历集合时移除元素 import java.util.ArrayList;import java.util.List; public class Main { public static void main(String[] args) { List<Integer> lis...原创 2019-08-02 12:41:14 · 311 阅读 · 0 评论 -
eclipse+maven搭建自己web系统的骨架
创建maven工程勾选上Create a simple projeect右键点击项目,单击properties勾选Dynamic web module,之后单击下面Further configuration available如下进行修改创建成功。...原创 2019-09-05 15:18:26 · 264 阅读 · 0 评论 -
SSM中配置了事务控制但没生效
今天在使用ssm事务时,发现方法报错,事务没有回滚,弄了半天,终于解决,下面记录一下 ,本人是使用编程式事务,即使用配置文件 的方式。包结构,下面是springmvc.xml配置文件spring配置文件:applicationContext.xml首先我们明确spring进行扫描注入时,因为spring的context是父子容器,ContextLoaderListener监听器加载sp...原创 2019-09-29 12:02:54 · 324 阅读 · 0 评论 -
SSM+Maven多模块时pom.xml中添加了依赖,运行时仍然找不到依赖模块的类解决
今天做一个SSM+Maven多模块的项目时,pom.xml中添加了依赖,但还是无法引用,我的项目结构为:其中Crowdfuning-main是war工程,Crowdfuning-parent是pom工程,其他为子工程。Crowdfuning-main的依赖项目是剩下的所有jar工程,依赖显示有但是运行时就没用,试了好多方法,都没用,偶然灵光一闪,解决了,方法如下:首先右击Crowdfun...原创 2019-10-09 15:19:48 · 2193 阅读 · 0 评论