- 博客(4)
- 收藏
- 关注
原创 Error inflating class fragment 报错
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testproject/com.example.testproject.MainActivity}: android.view.InflateException: Binary XML file line #9 in com.example.testproject:layout/activity_main: Binary XML file line
2022-05-22 03:59:31
1533
1
原创 执行list的add方法时报空指针,添加不进去
执行list的add方法时报空指针,添加不进去。 - - 学习笔记执行list的add方法时报空指针,添加不进去。list的结果一直是null,rid可以获取到值。 List<Integer> list = null; try { String sql="select rid from tab_favorite where uid=?"; List<Map<String, Object>> mapList = template.queryF
2021-01-11 14:20:46
1170
3
原创 2021-01-10
笔记Caused by: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [insert int tab_favorite values(?,?,?)]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL
2021-01-10 21:17:33
119
2
原创 tomcat启动报错,之前还能用Caused by: java.lang.IllegalArgumentException: Invalid <url-pattern> [checkCode] in
报错信息如下[2020-10-15 03:51:55,228] Artifact login_test:war exploded: Artifact is being deployed, please wait...15-Oct-2020 15:51:56.351 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: star
2020-10-15 16:13:46
648
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人