- 博客(12)
- 收藏
- 关注
原创 2003:Can‘t connect to MySQL server on “localhost“ 1045:Access denied for user ‘root‘ @ ‘
2003:Can't connect to MySQL server on "localhost" 1045:Access denied for user 'root' @ '
2022-11-14 20:09:51
241
原创 java.lang.InstantiationException: com.atguigu.fruit.pojo.Fruit at java.lang.
java.lang.InstantiationException: com.atguigu.fruit.pojo.Fruit at java.lang.
2022-10-30 15:26:38
82
原创 Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.
Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component
2022-10-30 10:31:10
978
原创 java.lang.IllegalArgumentException: Can not set java.lang.Integer field com.pojo.Fruit.price to java
java.lang.IllegalArgumentException: Can not set java.lang.Integer field com.pojo.Fruit.price to java.lang.Float
2022-10-28 21:40:27
1500
原创 jdbc连接(已解决)
jdbc连接数据库报错:javax.servlet.ServletException: Error instantiating servlet class AddS
2022-10-27 19:56:35
62
原创 部署tomcat及导入tomcat依赖
There is no configured/running web-servers found! Please, run any web-configuration and hit the Refresh button!
2022-10-26 10:17:10
2101
原创 tomcat启动闪退问题The CATALINA_HOME environment variable is not defined correctly.This environment variabl
The CATALINA_HOME environment variable is not defined correctly.This environment variable is needed
2022-10-25 21:22:59
370
原创 泛型的使用
在集合中使用泛型 ①:集合接口或集合类在jdk5.0时都修改为带泛型的结构 ②:在实例化集合类时,可以指明具体的泛型类型 ③:指明完以后在集合类或接口中凡是定义类或接口时,内部结构(比如:方法、构造器)用到类的泛型的位置,都指定为实例化的泛型类型 比如:add--------实例化以后:add(Integer e) ④:注意点:泛型的类型必须是类,不能是基本数据类型,需要用到基本数据类型的位置拿包装类替换 ⑤:如果实例化,没有指明泛型的类型,默认类型j
2022-10-14 10:20:58
127
原创 JAVA 集合
/-----Collection接口:单列集合,用来存储一个一个的对象::::::::::::iterator遍历* /----List接口:存储有序的、可重复的数据。------>”动态”数组* /----ArrayList、LinkedList、Vector* /----Set接口:存储无序的、不可重复的数据。------>* /----HashSet、LinkedHashSet、TreeSet** /----Map接口:双
2022-10-13 20:28:10
193
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人