从gitee下载源码后再eclipse编译的问题,import出现带下划线类名且找不到
从代码仓库中下载下源码,导入eclipse中编译报错。发现有些java类中出现类似importcom.x.attendance.entity.AttendanceQywxDetail;import com.x.attendance.entity.AttendanceQywxDetail_;编译报错找不到类。
请问带下划线的相同类名这样的语法是什么意思?
网上没有发现解答 编译请参考文档
https://www.yuque.com/o2oa/course/ng5iqb 谢谢管理员,已经解决了 我也遇到了,怎么解决?
mvn clean /mvn install 试了很多次都没有用,换了电脑也不行
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default) on project x_cms_core_entity: Compilation failure: Compilation failure:
/D:/hzw/code/O2OA/O2OA/o2server/x_cms_core_entity/src/main/java/com/x/cms/core/entity/query/Query.java: 找不到符号
符号: 类 Item_
位置: 程序包 com.x.query.core.entity
/D:/hzw/code/O2OA/O2OA/o2server/x_cms_core_entity/src/main/java/com/x/cms/core/entity/query/FilterEntryTools.java: 找不到符号
符号: 类 Item_
位置: 程序包 com.x.query.core.entity
->
To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.
For more information about the errors and possible solutions, please read the following articles:
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
After correcting the problems, you can resume the build with the command
mvn <args> -rf :x_cms_core_entity 您好:这个是编译后产生的代码,您需要先编译对应的源码! 谢谢,但是从gitee上下载的就是这样的,我执行mvn clean后还是没解决啊。
请问应该怎么操作,请详细教一下好吗?谢谢
http://www.o2oa.net:20020/x_file_assemble_control/jaxrs/file/92f84b59-6ded-4835-baf1-e9a4100a6e15/download/stream 需要先编译!
编译请参考文档
https://www.yuque.com/o2oa/course/ng5iqb
页:
[1]