JAVA的一个小项目拿回家出了点问题。求指教。。谢谢了、在线等

x_4_28 2011-08-13 09:20:15
11-8-13 下午09时12分03秒: Unable to update index for central|http://repo1.maven.org/maven2
11-8-13 下午09时11分38秒: Updating index central|http://repo1.maven.org/maven2
11-8-13 下午09时11分56秒: Refreshing [/smill anytime,anywhere/pom.xml]
11-8-13 下午09时12分02秒: Unable to download Repository[d9d714e11cb097b3ffcec91cccc65d3e|http://repo1.maven.org/maven2/.index]/nexus-maven-repository-index.properties: java.net.ConnectException: Connection timed out: no further information
11-8-13 下午09时12分16秒: Refreshing [/smill anytime,anywhere/pom.xml]
11-8-13 下午09时12分17秒: Refreshing [/smill anytime,anywhere/pom.xml]
谷歌了下中文{
13年11月8日下午09时12分03秒:无法更新为中央索引| http://repo1.maven.org/maven2
13年11月8日下午09时11分38秒:更新索引中央| http://repo1.maven.org/maven2
13年11月8日下午09时11分56秒:刷新[/ smill,anytime anywhere/ pom.xml的]
13年11月8日下午09时12分02秒:无法下载java.net.ConnectException:连接超时:没有进一步的信息
13年11月8日下午09时12分16秒:刷新[/ smill,anytime anywhere/ pom.xml的]
13年11月8日下午09时12分17秒:刷新[/ smill,anytime anywhere/ pom.xml的]
}
奇怪的一点是,我改了代码,可是运行起来还是按照以前的代码在运行。怎么改都不行,
最奇怪的一点是。project上有个红叉叉,可每个类和窗体都没红叉叉的

在线等。。谢谢了
...全文
336 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
x_4_28 2011-08-13
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 gsy999 的回复:]
引用楼主 x_4_28 的回复:
11-8-13 下午09时12分03秒: Unable to update index for central|http://repo1.maven.org/maven2
11-8-13 下午09时11分38秒: Updating index central|http://repo1.maven.org/maven2
11-8-13 下午09时11分56秒:……
[/Quote]谢谢
x_4_28 2011-08-13
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 jiatulangzi123 的回复:]
参考意见:
重新引入jar包。之前引入的jar包找不到。可能丢失,也可能是jar包路径classpath出错,找不到。
可能是项目中已有错误导致源文件未及时编译过去,所以还是运行之前的class文件。错误解决了才会正确编译过去。
[/Quote]谢谢。我去试试了。
gsy999 2011-08-13
  • 打赏
  • 举报
回复
[Quote=引用楼主 x_4_28 的回复:]
11-8-13 下午09时12分03秒: Unable to update index for central|http://repo1.maven.org/maven2
11-8-13 下午09时11分38秒: Updating index central|http://repo1.maven.org/maven2
11-8-13 下午09时11分56秒: Refreshing [/smil……
[/Quote]
我的判断与3楼近似,可能单位的环境中jar包是齐的,到了自己家后环境变了,找不到某某jar包了,所以才启动maven来到网上下载,但又下载不到,所以也就无法运行你的应用程序了。
_thinkinghunter 2011-08-13
  • 打赏
  • 举报
回复
参考意见:
重新引入jar包。之前引入的jar包找不到。可能丢失,也可能是jar包路径classpath出错,找不到。
可能是项目中已有错误导致源文件未及时编译过去,所以还是运行之前的class文件。错误解决了才会正确编译过去。
x_4_28 2011-08-13
  • 打赏
  • 举报
回复
SOS
x_4_28 2011-08-13
  • 打赏
  • 举报
回复
自己先顶下巴。。

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧