崩溃 不知道如何解决

QJKT7777777 2009-06-24 01:59:51
小弟在调试一程序时 调了1个小时左右吧 之间没什么问题 忽然MYECLIPSE DEBUG

The jar file rt.jar has no source attachment
You can attach the source by clicking Attach Souce below;

网上查了很多办法 都是说“找到jdk目录下的src.zip就行” change attached source后了也不行

重装JDK跟TOMCAT后出现the source attachment does not contain the source for the file

之前都没出现这情况啊 崩溃了 不知道怎么解决 希望大家帮帮我 非常之感谢

--------------------------------以下是控制台信息

2009-6-24 1:54:30 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_07\bin;E:\apache-tomcat-6.0.16\bin
2009-6-24 1:54:31 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2009-6-24 1:54:31 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 713 ms
2009-6-24 1:54:31 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-6-24 1:54:31 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.16
2009-6-24 1:54:31 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
2009-6-24 1:54:31 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
2009-6-24 1:54:31 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2009-6-24 1:54:31 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2009-6-24 1:54:32 org.apache.catalina.loader.WebappClassLoader validateJarFile
信息: validateJarFile(E:\apache-tomcat-6.0.16\webapps\Auction\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
2009-6-24 1:54:32 org.apache.catalina.core.StandardContext addApplicationListener
信息: The listener "org.springframework.web.context.ContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2009-6-24 1:54:32 org.apache.catalina.core.ApplicationContext log
信息: Loading Spring root WebApplicationContext
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1704ebb [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@17c67f9 [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> -1, initialPoolSize -> 1, maxIdleTime -> 20, maxPoolSize -> 40, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@12fca35 [ description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://localhost/auction, properties -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1704ebb ]
---------------------
2009-6-24 1:54:40 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2009-6-24 1:54:40 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2009-6-24 1:54:40 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/78 config=null
2009-6-24 1:54:40 org.apache.catalina.startup.Catalina start
信息: Server startup in 9295 ms
...全文
1092 29 打赏 收藏 转发到动态 举报
写回复
用AI写文章
29 条回复
切换为时间正序
请发表友善的回复…
发表回复
yu_jinming 2011-01-19
  • 打赏
  • 举报
回复
27楼高手呀,我的给修理好了。
ghsy158 2010-05-20
  • 打赏
  • 举报
回复
我也碰见这样的问题了 正在解决 。。。
  • 打赏
  • 举报
回复
是不是myeclipse的java环境导入问题?看看这个路径下的配置是不是有问题吧:
window-->preferences-->java-->Installed JRES
复杂的问题都是小的细节出的问题。检查各个小的细节应该能查出来。。。。
xcj0722 2009-06-28
  • 打赏
  • 举报
回复
。。。。
up
QJKT7777777 2009-06-25
  • 打赏
  • 举报
回复
重装myeclipse jdk tomcat后差不多正常了 但是直接导项目有异常 要慢慢一点点导才行 正在排错

想知道问题的原因 哎~ 免得以后。。。。呃~
QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 likefire 的回复:]
引用 2 楼 QJKT7777777 的回复:
引用 1 楼 knightzhuwei 的回复:
不是rt.jar么 关联下jre\lib下的rt.jar试试呢?


怎么关联?change attached source?我现在重装后 变成the source attachment does not contain the source for the file jdbcodbcdriver.class 晕 开始贴写错了~

还有我环境是myeclipse6+tomcat6


看上面的错误提示好像是你连接数据库时出错,你用的是jdbc—odbc连接方式吧,看看数据源配置…
[/Quote]应该没问题啊 我一直用好好的 好像改了个业务逻辑方法后 就坏了 晕啊
西部流云 2009-06-24
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 QJKT7777777 的回复:]
引用 1 楼 knightzhuwei 的回复:
不是rt.jar么 关联下jre\lib下的rt.jar试试呢?


怎么关联?change attached source?我现在重装后 变成the source attachment does not contain the source for the file jdbcodbcdriver.class 晕 开始贴写错了~

还有我环境是myeclipse6+tomcat6
[/Quote]
看上面的错误提示好像是你连接数据库时出错,你用的是jdbc—odbc连接方式吧,看看数据源配置有没有问题
jinchun1234 2009-06-24
  • 打赏
  • 举报
回复
这个好像要下载源代码进行关联的!Myeclipse本身的jar包只有class文件
yjykwyunfa 2009-06-24
  • 打赏
  • 举报
回复
高手就是多
sypch 2009-06-24
  • 打赏
  • 举报
回复
up
bukebuhao 2009-06-24
  • 打赏
  • 举报
回复
[Quote=引用 20 楼 QJKT7777777 的回复:]
环境彻底崩溃  重新部署myeclipse tomcat jdk后  将以前项目导进myeclipse7又有问题  哎  已经无语了
[/Quote]
环境的问题,最好的解决方式就是重装
QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
环境彻底崩溃 重新部署myeclipse tomcat jdk后 将以前项目导进myeclipse7又有问题 哎 已经无语了
车前猛跑 2009-06-24
  • 打赏
  • 举报
回复
天哪,太可怕了。幸亏我没遇到过。
wanghao1987 2009-06-24
  • 打赏
  • 举报
回复
晕乎
QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
[Quote=引用 14 楼 java2000_net 的回复:]
明显2个风马牛不相及的问题,飞得一起问。

你的源文件问题和tomcat启动之间没有任何关系。

至于src.zip问题,我的安装包里有,你的我就不知道了。
[/Quote]我的JDK安装在C盘 我查了 有src.zip
QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
2009-6-24 13:50:47 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_07\bin;E:\apache-tomcat-6.0.16\bin

debug the source attachment does not contain the source for the file truetypefont.class

at TrueTypeFont.open()不能使用
at TrueTypeFont.verity()不能使用
at TrueTypeFont. <Init>(String,Object,int,boolean)不能使用


PS:CSDN上如何发本地图呀?
QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
还有也出现了the source attachment does not contain the source for the file properties.class

QJKT7777777 2009-06-24
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 knightzhuwei 的回复:]
不是rt.jar么 关联下jre\lib下的rt.jar试试呢?
[/Quote]
怎么关联?change attached source?我现在重装后 变成the source attachment does not contain the source for the file jdbcodbcdriver.class 晕 开始贴写错了~

还有我环境是myeclipse6+tomcat6
默然说话 2009-06-24
  • 打赏
  • 举报
回复
目前请忽略这个问题,因为你还小。

等你长大了,你就会明白的。

(长大前,先好好学习英语吧)
knightzhuwei 2009-06-24
  • 打赏
  • 举报
回复
不是rt.jar么 关联下jre\lib下的rt.jar试试呢?
加载更多回复(8)

81,092

社区成员

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

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