我有一个gradle.build文件
project(':java5').archivesBaseName = 'annotations-java5'
行和我在那里有一个错误:
* What went wrong:
A problem occurred evaluating root project 'java-annotations'.
> Project with path ':java5' could not be found in root project 'java-annotations'.
我不
我正在使用4个外部jars构建我的项目。我在我的项目中添加了库,我也可以在gradle.build文件中看到它们。
当我执行分级同步时,它会完美地编译代码,但是一旦启动,它就会给我一个错误。
Cannot find symbol <classname from the imported jar>
这种情况只发生在一个罐子里,其他所有的都很好。
注意事项:jar确实包含该文件。
我想问一下,如果它编译正确,那么为什么它在发布时给了我一个错误?
在哪里定义了odoo类和模块?火葬道应该是什么?
我在设置ODOO 10社区以在Windows (10)上运行Eclipse时遇到问题。这归结为两个问题:我找不到定义odoo类的位置,因此无法导入odoo模块,我也不知道PYTHONPATH应该是什么。
详细信息:
我在Eclipse配置中的主模块被设置为oddomain.py (在安装文件夹中从odoo重命名),代码如下:
# set server timezone in UTC before time module imported
# Israel time zone is IST so I'm hoping this will
我在一个不同的模块中进行了集成测试,但是我有一个gradle.build文件。
当我运行gradle clean integrationTest时,我得到以下错误
Task :integrationTest NO-SOURCE Skipping task ':integrationTest' as it has no source files and no previous output files.在日志中看到了以下内容:
file or directory '<MyPath>/MyService/src/integrationTest/groovy