《Java程序设计自学手册》实例运行出错,请求帮组
发表在Java图书答疑
2009-08-31
是否精华
是
否
版块置顶:
是
否
《Java程序设计自学手册》
P.257. (光盘\mr\12\sl\06\src\com\mwq\database\TestJNDI.java)
public class TestJNDI extends DS {
public List test() {
List<Object[]> result = new ArrayList<Object[]>();(这一句,计算机显示出错)
控制台显示:
8/31/09 7:38:23 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:25 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:28 PM CST: Unable to update index for central http://repo1.maven.org/maven2/
P.287.(光盘\mr\14\sl\01\src\com\lzw\Login.java)
控制台显示:
8/31/09 7:38:23 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:25 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:28 PM CST: Unable to update index for central http://repo1.maven.org/maven2/
8/31/09 8:11:31 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 8:13:21 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
计算机显示com.lzw下的Main.java中
private JButton getToolButton(Action action) {
JButton actionButton = new JButton(action);
actionButton.setHideActionText(true); (这一句,计算机显示出错)
还有类似的其它错误,很多,不一一列举了。
不知什么原因。
P.257. (光盘\mr\12\sl\06\src\com\mwq\database\TestJNDI.java)
public class TestJNDI extends DS {
public List test() {
List<Object[]> result = new ArrayList<Object[]>();(这一句,计算机显示出错)
控制台显示:
8/31/09 7:38:23 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:25 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:28 PM CST: Unable to update index for central http://repo1.maven.org/maven2/
P.287.(光盘\mr\14\sl\01\src\com\lzw\Login.java)
控制台显示:
8/31/09 7:38:23 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:25 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 7:38:28 PM CST: Unable to update index for central http://repo1.maven.org/maven2/
8/31/09 8:11:31 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
8/31/09 8:13:21 PM CST: [INFO] User settings file does not exist C:\Documents and Settings\Administrator\.m2\settings.xml
计算机显示com.lzw下的Main.java中
private JButton getToolButton(Action action) {
JButton actionButton = new JButton(action);
actionButton.setHideActionText(true); (这一句,计算机显示出错)
还有类似的其它错误,很多,不一一列举了。
不知什么原因。