我正在尝试从命令行构建一个android项目.我的android项目在我的主要android项目中有一个子项目.当我运行ant debug命令时,它显示构建类中的错误,因为没有从子项目中找到库类.所以我认为子项目没有正确包含,我们需要执行一些命令.
请提前帮助,谢谢
我一直在尝试使用 Maven 的 Dropwizard 项目。我可以运行 hello world 程序。当我尝试使用 Hibernate 运行数据库程序时,使用 java -jar 运行程序时出现如下错误。
default configuration has the following errors:
* database.driverClass may not be null (was null)
* database.url may not be null (was null)
* database.user may not be null (was null)
* template may not be empty (was null)
Run Code Online (Sandbox Code Playgroud)
这是我的 hello-world.yml 文件
template: Hello, %s!
defaultName: Stranger
database:
driverClass: com.mysql.jdbc.Driver
user: root
password:
url: jdbc:mysql://localhost/test
Run Code Online (Sandbox Code Playgroud)
提前致谢 !!