ArrayStoreException關於Object類導包的坑

如果你的代碼出現這個異常你就看看你的存儲類中的Object類是否導了org.omg.CORBA.Object;這個包把它刪掉就好了

Exception in thread "main" java.lang.ArrayStoreException
	at java.lang.System.arraycopy(Native Method)
	at com.matthew.SegmentTree.SegmentTree.<init>(SegmentTree.java
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章