|
编译lumaqq源代码时出现了一下的错误:
1。The project was not built since its build path is incomplete. Cannot find the class file for java.lang.annotation.Annotation. Fix the build path then try building this project jql_protocol
2。The type java.lang.annotation.Annotation cannot be resolved. It is indirectly referenced from required .class files RelatedPacket.java jql_protocol/edu/tsinghua/lumaqq/qq/annotation line 1
请问高手应该怎么解决?
我的编译方法是:
1)创建工程jql_protocol
新建工程jql_protocol,然后把lumaqq源代码中的jql_protocol_2006目录中的java源代码导入工程,把工程的编码方式设为UTF-8以免中文乱码(下同),因为lumaqq的源代码使用的是UTF-8编码方式,
把lumqaa2006M2中lib目录中的commons-codec.jar、commons-logging.jar两个库添加到编译路径中,编译成功后,导出jar文件,不妨取名为“jql_protocol_20061117.jar”。
系统是windows xp professional sp2
lumaqq版本是:LumaQQ_2006M2 2006年11月17日打包 |
|