在不同jar文件中有兩個同名類是加載的哪一個已經classload

在Eclipse中加載第一個(通常是lib下面的順序,但並非一定,可以修改這個順序)
[Img]http://dl2.iteye.com/upload/attachment/0086/1141/7440b25e-2eeb-3eea-8b02-aaea5ee4e5a1.png[/Img]

或者修改
[Img]http://dl2.iteye.com/upload/attachment/0086/1143/ec1b1829-62b5-3b6b-bef9-03184ce559e5.png[/Img]


classload相關知識:
[Img]http://dl2.iteye.com/upload/attachment/0086/1146/a90e3568-effa-3a3d-bbf7-42df533a8bad.png[/Img]

[Img]http://dl2.iteye.com/upload/attachment/0086/1148/36e5f504-f4d2-3612-9ef8-4009b495835c.png[/Img]

[Img]http://dl2.iteye.com/upload/attachment/0086/1150/e79cd1e8-7c8e-33ea-a185-597eba38f433.png[/Img]

[Img]http://dl2.iteye.com/upload/attachment/0086/1152/f83ee18b-df40-308a-ba08-a3e55b7d3136.png[/Img]

[Img]http://dl2.iteye.com/upload/attachment/0086/1154/a4491046-9192-37c7-aa4e-533904dd1d0a.png[/Img]
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章