- 博客(6)
- 收藏
- 关注
原创 java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corres
name like 放到<if></if>里面解决。
2024-04-27 11:20:15
130
1
原创 依赖注入的注解
2.@Autowired + @Qualifier("bean的名称")3.@Resource(name = "bean的名称")1.@Primary :即优先。@Autowired:默认按照类型自动装配。
2024-04-23 16:51:25
102
原创 Ensure that your compiler is configured to use the ‘-parameters‘ flag.You may need to update both y
控制反转
2024-04-23 16:00:25
205
原创 装第二次maven时发现cmd mvn - v的报错
The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program NB: JAVA_HOME should point to a JDK not a JRE
2024-04-22 08:59:20
74
1
原创 用java打印空心菱形
package chapter1;public class Lingxing { public static void main(String[] args) { int a=10; for(int i=1;i<=a;i++) { for(int j=1;j<=a-i;j++) { //打印行前空格a-i个 System.out.print(" "); }...
2022-05-13 03:08:40
122
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人