问题描述
如題...都是這GamblingLock跟getGambling原因~該如何排除呢???導致問題的源碼(1)L1GamblinggamInfo=GamblingLock.create().getGambling(gamId);導致問題的源碼(2)L1Gambling[]list=GamblingLock.create().getGamblingList();導致問題的源碼(3)GamblingLock.create().create(_gam.get_gamId(),npcId,npcRate,totalPrice);錯誤訊息[javac]D:workspaceRev2021-0418srcl1jserverservermodelL1GamSpList.java:190:cannotfindsymbol[javac]symbol:variableGamblingLock[javac]location:classl1j.server.server.model.L1GamSpList[javac]L1GamblinggamInfo=GamblingLock.create().getGambling(gamId);[javac]^[javac]D:workspaceRev2021-0418srcl1jserverservermodelL1Gamble.java:142:cannotfindsymbol[javac]symbol:variableGamblingLock[javac]location:classl1j.server.server.model.L1Gamble[javac]L1GamblinggamInfo=GamblingLock.create().getGambling(gamId);[javac]^[javac]D:workspaceRev2021-0418srcl1jserverservermodelL1Gamble.java:161:cannotfindsymbol[javac]symbol:variableGamblingLock[javac]location:classl1j.server.server.model.L1Gamble[javac]L1Gambling[]list=GamblingLock.create().getGamblingList();[javac]^[javac]D:workspaceRev2021-0418srcl1jserverservermodelgametimeinsGamblingTime.java:357:cannotfindsymbol[javac]symbol:variableGamblingLock[javac]location:classl1j.server.server.model.gametime.ins.GamblingTime[javac]GamblingLock.create().create(_gam.get_gamId(),npcId,npcRate,totalPrice);[javac]^[javac]D:workspaceRev2021-0418srcl1jserverserverserverpacketsS_ShopBuyListGam.java:39:cannotfindsymbol[javac]symbol:variableGamblingLock[javac]location:classl1j.server.server.serverpackets.S_ShopBuyListGam[javac]L1GamblinggamInfo=GamblingLock.create().getGambling(gamId);[javac]^[javac]Note:D:workspaceRev2021-0418srcl1jserverservermodelskillL1SkillTimer.javausesoroverridesadeprecatedAPI.[javac]Note:Recompilewith-Xlint:deprecationfordetails.[javac]Note:Someinputfilesuseuncheckedorunsafeoperations.[javac]Note:Recompilewith-Xlint:uncheckedfordetails.[javac]5errors
解决方案
解决方案二:
该回复于2011-04-19 08:42:46被版主删除
解决方案三:
GamblingLock没找到,没有导入类还是没有导入jar包啊?或者相关的函数不是静态函数。