首页上一页 1 下一页尾页 6 条记录 1/1页
java项目开发全程实录_第八章
发表在Java图书答疑
2009-05-05
是否精华
是
否
版块置顶:
是
否
系统: xp_sp3
你好, 在按步骤搭建第八章的事例的时候,
首先问题出在jar包导入,
已经下载了java.rar, 以及从网上下载了对应的jar包.
连接池也已经配置.
现在出现以下错误.
Severity and Description Path Resource Location Creation Time Id
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 17 1241498181906 1039
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 87 1241498181906 1044
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 109 1241498181906 1048
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 134 1241498181906 1052
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 157 1241498181906 1056
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 208 1241498181906 1060
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 245 1241498181906 1064
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 268 1241498181906 1068
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 324 1241498181906 1072
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 366 1241498181906 1076
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 387 1241498181906 1080
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 16 1241498181906 1037
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 17 1241498181906 1038
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 86 1241498181906 1042
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 87 1241498181906 1043
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 108 1241498181906 1046
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 109 1241498181906 1047
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 133 1241498181906 1050
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 134 1241498181906 1051
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 156 1241498181906 1054
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 157 1241498181906 1055
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 207 1241498181906 1058
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 208 1241498181906 1059
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 244 1241498181906 1062
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 245 1241498181906 1063
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 267 1241498181906 1066
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 268 1241498181906 1067
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 323 1241498181906 1070
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 324 1241498181906 1071
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 365 1241498181906 1074
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 366 1241498181906 1075
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 386 1241498181906 1078
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 387 1241498181906 1079
The import java.text is never used net/src/com/wsy selectsql.java line 6 1241498181906 1036
The local variable passwords is never read net/src/com/wsy selectsql.java line 42 1241498181906 1041
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 29 1241498181906 1040
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 99 1241498181906 1045
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 124 1241498181906 1049
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 147 1241498181906 1053
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 170 1241498181906 1057
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 221 1241498181906 1061
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 258 1241498181906 1065
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 284 1241498181906 1069
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 337 1241498181906 1073
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 377 1241498181906 1077
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 398 1241498181906 1081
请问怎么解决?
你好, 在按步骤搭建第八章的事例的时候,
首先问题出在jar包导入,
已经下载了java.rar, 以及从网上下载了对应的jar包.
连接池也已经配置.
现在出现以下错误.
Severity and Description Path Resource Location Creation Time Id
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 17 1241498181906 1039
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 87 1241498181906 1044
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 109 1241498181906 1048
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 134 1241498181906 1052
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 157 1241498181906 1056
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 208 1241498181906 1060
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 245 1241498181906 1064
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 268 1241498181906 1068
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 324 1241498181906 1072
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 366 1241498181906 1076
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized net/src/com/wsy selectsql.java line 387 1241498181906 1080
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 16 1241498181906 1037
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 17 1241498181906 1038
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 86 1241498181906 1042
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 87 1241498181906 1043
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 108 1241498181906 1046
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 109 1241498181906 1047
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 133 1241498181906 1050
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 134 1241498181906 1051
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 156 1241498181906 1054
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 157 1241498181906 1055
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 207 1241498181906 1058
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 208 1241498181906 1059
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 244 1241498181906 1062
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 245 1241498181906 1063
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 267 1241498181906 1066
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 268 1241498181906 1067
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 323 1241498181906 1070
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 324 1241498181906 1071
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 365 1241498181906 1074
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 366 1241498181906 1075
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 386 1241498181906 1078
Collection is a raw type. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 387 1241498181906 1079
The import java.text is never used net/src/com/wsy selectsql.java line 6 1241498181906 1036
The local variable passwords is never read net/src/com/wsy selectsql.java line 42 1241498181906 1041
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 29 1241498181906 1040
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 99 1241498181906 1045
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 124 1241498181906 1049
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 147 1241498181906 1053
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 170 1241498181906 1057
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 221 1241498181906 1061
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 258 1241498181906 1065
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 284 1241498181906 1069
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 337 1241498181906 1073
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 377 1241498181906 1077
Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized net/src/com/wsy selectsql.java line 398 1241498181906 1081
请问怎么解决?